Skip to content
Snippets Groups Projects
Commit 4d78e660 authored by Vincent Texier's avatar Vincent Texier
Browse files

Fix TransfertMoneyDialog call broken

parent f8ca3550
No related branches found
No related tags found
No related merge requests found
...@@ -159,7 +159,7 @@ class CommunityTabWidget(QWidget, Ui_CommunityTabWidget): ...@@ -159,7 +159,7 @@ class CommunityTabWidget(QWidget, Ui_CommunityTabWidget):
pubkey = person pubkey = person
else: else:
pubkey = person.pubkey 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.edit_pubkey.setText(pubkey)
dialog.combo_community.setCurrentText(self.community.name) dialog.combo_community.setCurrentText(self.community.name)
dialog.radio_pubkey.setChecked(True) dialog.radio_pubkey.setChecked(True)
......
...@@ -248,7 +248,7 @@ class WalletsTabWidget(QWidget, Ui_WalletsTab): ...@@ -248,7 +248,7 @@ class WalletsTabWidget(QWidget, Ui_WalletsTab):
def transfer_to_wallet(self): def transfer_to_wallet(self):
wallets = self.sender().data() 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.edit_pubkey.setText(wallets[1].pubkey)
dialog.combo_community.setCurrentText(self.community.name) dialog.combo_community.setCurrentText(self.community.name)
dialog.combo_wallets.setCurrentText(wallets[0].name) dialog.combo_wallets.setCurrentText(wallets[0].name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment