fix: return type of QFileDialog.getOpenFileName() changed
This commit is contained in:
@@ -61,7 +61,7 @@ class ContactList(MyTreeWidget):
|
||||
|
||||
def import_contacts(self):
|
||||
wallet_folder = self.parent.get_wallet_folder()
|
||||
filename = QFileDialog.getOpenFileName(self.parent, "Select your wallet file", wallet_folder)
|
||||
filename, _ = QFileDialog.getOpenFileName(self.parent, "Select your wallet file", wallet_folder)
|
||||
if not filename:
|
||||
return
|
||||
self.parent.contacts.import_file(filename)
|
||||
|
||||
Reference in New Issue
Block a user