Merge pull request #730 from chrisglass/pep8ing-phase-one
authorThomasV <thomasv1@gmx.de>
Tue, 24 Jun 2014 14:30:22 +0000 (16:30 +0200)
committerThomasV <thomasv1@gmx.de>
Tue, 24 Jun 2014 14:30:22 +0000 (16:30 +0200)
First cleanup branch

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):