tx dialog hooks
authorThomasV <thomasv@gitorious>
Tue, 24 Jun 2014 12:48:15 +0000 (14:48 +0200)
committerThomasV <thomasv@gitorious>
Tue, 24 Jun 2014 12:48:15 +0000 (14:48 +0200)
gui/qt/transaction_dialog.py

index a2f3f96..5084a56 100644 (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):