add hook for transaction_dialog
authorThomasV <thomasv@gitorious>
Fri, 20 Jun 2014 09:55:34 +0000 (11:55 +0200)
committerThomasV <thomasv@gitorious>
Fri, 20 Jun 2014 09:55:34 +0000 (11:55 +0200)
gui/qt/transaction_dialog.py

index 665db54..ada3b8e 100644 (file)
@@ -72,7 +72,7 @@ class TxDialog(QDialog):
 
         vbox.addStretch(1)
 
-        buttons = QHBoxLayout()
+        self.buttons = buttons = QHBoxLayout()
         vbox.addLayout( buttons )
 
         buttons.addStretch(1)
@@ -101,6 +101,8 @@ class TxDialog(QDialog):
         buttons.insertWidget(1,b)
         self.update()
 
+        run_hook('transaction_dialog', self)
+
 
     def show_qr(self):
         try: