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):
else:
self.amount_label.setText(_("Transaction unrelated to your wallet"))
+ run_hook('transaction_dialog_update', self)
+
def add_io(self, vbox):
vbox.addWidget(i_text)
vbox.addWidget(QLabel(_("Outputs")))
- lines = map(lambda x: x[0] + u'\t\t' + self.parent.format_amount(x[1]), self.tx.outputs)
+ lines = map(lambda x: x[0] + u'\t\t' + self.parent.format_amount(x[1]), self.tx.get_outputs())
o_text = QTextEdit()
o_text.setText('\n'.join(lines))
o_text.setReadOnly(True)