From 12e835b70d3b16a5061705c1c0fa5977e349ddea Mon Sep 17 00:00:00 2001 From: Inso <insomniak.fr@gmail.com> Date: Wed, 11 Feb 2015 20:03:11 +0100 Subject: [PATCH] Fixed Issue #57 --- src/cutecoin/gui/mainwindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cutecoin/gui/mainwindow.py b/src/cutecoin/gui/mainwindow.py index 66f07f75..10bf7bc0 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) -- GitLab