From 4d78e66044618c032cfb3ef83bdca1664b116a06 Mon Sep 17 00:00:00 2001 From: Vincent Texier <vit@free.fr> Date: Wed, 15 Jul 2015 10:58:49 +0200 Subject: [PATCH] Fix TransfertMoneyDialog call broken --- src/cutecoin/gui/community_tab.py | 2 +- src/cutecoin/gui/wallets_tab.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cutecoin/gui/community_tab.py b/src/cutecoin/gui/community_tab.py index 6c11dc6e..bd78bdd5 100644 --- a/src/cutecoin/gui/community_tab.py +++ b/src/cutecoin/gui/community_tab.py @@ -159,7 +159,7 @@ class CommunityTabWidget(QWidget, Ui_CommunityTabWidget): pubkey = person else: pubkey = person.pubkey - dialog = TransferMoneyDialog(self.account, self.password_asker) + dialog = TransferMoneyDialog(self.app, self.account, self.password_asker) dialog.edit_pubkey.setText(pubkey) dialog.combo_community.setCurrentText(self.community.name) dialog.radio_pubkey.setChecked(True) diff --git a/src/cutecoin/gui/wallets_tab.py b/src/cutecoin/gui/wallets_tab.py index 36c27ef1..0010e49e 100644 --- a/src/cutecoin/gui/wallets_tab.py +++ b/src/cutecoin/gui/wallets_tab.py @@ -248,7 +248,7 @@ class WalletsTabWidget(QWidget, Ui_WalletsTab): def transfer_to_wallet(self): wallets = self.sender().data() - dialog = TransferMoneyDialog(self.account, self.password_asker) + dialog = TransferMoneyDialog(self.app, self.account, self.password_asker) dialog.edit_pubkey.setText(wallets[1].pubkey) dialog.combo_community.setCurrentText(self.community.name) dialog.combo_wallets.setCurrentText(wallets[0].name) -- GitLab