diff --git a/src/cutecoin/gui/mainwindow.py b/src/cutecoin/gui/mainwindow.py index 66f07f7518bcf597b4b7418f93bce57699db3fe8..10bf7bc0de1b2a9c58e798abd7c8bdda8d67b2ab 100644 --- a/src/cutecoin/gui/mainwindow.py +++ b/src/cutecoin/gui/mainwindow.py @@ -276,6 +276,7 @@ class MainWindow(QMainWindow, Ui_MainWindow): self.password_asker = PasswordAskerDialog(self.app.current_account) self.combo_referential.blockSignals(True) + self.combo_referential.clear() self.combo_referential.addItems(sorted(Account.referentials.keys())) self.combo_referential.setEnabled(True) self.combo_referential.blockSignals(False) @@ -291,7 +292,6 @@ class MainWindow(QMainWindow, Ui_MainWindow): self.refresh_wallets() self.refresh_contacts() - def import_account(self): dialog = ImportAccountDialog(self.app, self) dialog.accepted.connect(self.refresh)