From 3cfc66aefeda009599edf1eb8c691c28098fabfa Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Thu, 10 Sep 2015 21:24:41 +0200
Subject: [PATCH] Fix bug when changing account

---
 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 67dd4981..37289751 100644
--- a/src/cutecoin/gui/mainwindow.py
+++ b/src/cutecoin/gui/mainwindow.py
@@ -97,7 +97,7 @@ class MainWindow(QMainWindow, Ui_MainWindow):
         dialog = ProcessConfigureAccount(self.app, None)
         result = dialog.exec_()
         if result == QDialog.Accepted:
-            self.action_change_account(self.app.current_account)
+            self.action_change_account(self.app.current_account.name)
 
     @pyqtSlot(str)
     def display_error(self, error):
-- 
GitLab