tx dialog hooks

This commit is contained in:
ThomasV 2014-06-24 14:48:15 +02:00
parent 2c7bf3ca1a
commit 6feebb7da3
1 changed files with 4 additions and 1 deletions

View File

@ -100,9 +100,10 @@ class TxDialog(QDialog):
b.setIcon(QIcon(":icons/qrcode.png"))
b.clicked.connect(self.show_qr)
buttons.insertWidget(1,b)
self.update()
run_hook('transaction_dialog', self)
self.update()
def show_qr(self):
@ -187,6 +188,8 @@ class TxDialog(QDialog):
else:
self.amount_label.setText(_("Transaction unrelated to your wallet"))
run_hook('transaction_dialog_update', self)
def add_io(self, vbox):