tx dialog hooks
This commit is contained in:
parent
2c7bf3ca1a
commit
6feebb7da3
|
@ -100,10 +100,11 @@ class TxDialog(QDialog):
|
||||||
b.setIcon(QIcon(":icons/qrcode.png"))
|
b.setIcon(QIcon(":icons/qrcode.png"))
|
||||||
b.clicked.connect(self.show_qr)
|
b.clicked.connect(self.show_qr)
|
||||||
buttons.insertWidget(1,b)
|
buttons.insertWidget(1,b)
|
||||||
self.update()
|
|
||||||
|
|
||||||
run_hook('transaction_dialog', self)
|
run_hook('transaction_dialog', self)
|
||||||
|
|
||||||
|
self.update()
|
||||||
|
|
||||||
|
|
||||||
def show_qr(self):
|
def show_qr(self):
|
||||||
text = self.tx.raw.decode('hex')
|
text = self.tx.raw.decode('hex')
|
||||||
|
@ -187,6 +188,8 @@ class TxDialog(QDialog):
|
||||||
else:
|
else:
|
||||||
self.amount_label.setText(_("Transaction unrelated to your wallet"))
|
self.amount_label.setText(_("Transaction unrelated to your wallet"))
|
||||||
|
|
||||||
|
run_hook('transaction_dialog_update', self)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def add_io(self, vbox):
|
def add_io(self, vbox):
|
||||||
|
|
Loading…
Reference in New Issue