diff --git a/src/cutecoin/gui/community_tab.py b/src/cutecoin/gui/community_tab.py index 6c11dc6e8dc9ba4c8de9c2af5926cfcdf23bf935..bd78bdd530e7d107653301fc138eb4009ba15fb8 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/transactions_tab.py b/src/cutecoin/gui/transactions_tab.py index 0a4d7913691ffab0b3b3e03eca59545add91bbd0..ffc7c825322b6fbe2e349a8bc17af4805baa12c1 100644 --- a/src/cutecoin/gui/transactions_tab.py +++ b/src/cutecoin/gui/transactions_tab.py @@ -176,7 +176,7 @@ class TransactionsTabWidget(QWidget, Ui_transactionsTabWidget): send_money.setData(identity) menu.addAction(send_money) - if isinstance(identity, identity): + if isinstance(identity, Identity): view_wot = QAction(self.tr("View in Web of Trust"), self) view_wot.triggered.connect(self.currency_tab.tab_community.view_wot) view_wot.setData(identity) diff --git a/src/cutecoin/gui/wallets_tab.py b/src/cutecoin/gui/wallets_tab.py index 36c27ef130d558daa01b129c4326c2eaa9ed1280..0010e49ecdadd48116f93c4aa338b1df21458c04 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)