From c616f2626757b26c4b45fca7b012ae58239dbb06 Mon Sep 17 00:00:00 2001 From: Inso <insomniak.fr@gmail.com> Date: Sat, 24 Jan 2015 20:09:04 +0100 Subject: [PATCH] Fixed a bug when configuring an account without any community --- src/cutecoin/gui/mainwindow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cutecoin/gui/mainwindow.py b/src/cutecoin/gui/mainwindow.py index 24d95b95..f435099b 100644 --- a/src/cutecoin/gui/mainwindow.py +++ b/src/cutecoin/gui/mainwindow.py @@ -115,7 +115,8 @@ class MainWindow(QMainWindow, Ui_MainWindow): def refresh_wallets(self): currency_tab = self.currencies_tabwidget.currentWidget() - currency_tab.refresh_wallets() + if currency_tab: + currency_tab.refresh_wallets() def refresh_communities(self): self.currencies_tabwidget.clear() -- GitLab