commit 6feebb7da37e272ea7e7a61a161eaf736d22e7bd
parent 2c7bf3ca1aff2326f3cc788f57c9c4289d0366f5
Author: ThomasV <thomasv@gitorious>
Date: Tue, 24 Jun 2014 14:48:15 +0200
tx dialog hooks
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py
@@ -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):