electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit dfb3d7b119ab43f6936d130c98a8cc20d90ca8e3
parent 2af670ea2b92e835919b745d94afcb8b4ec32fda
Author: ThomasV <thomasv@gitorious>
Date:   Tue, 18 Aug 2015 18:35:52 +0200

show number of inputs/outputs

Diffstat:
Mgui/qt/transaction_dialog.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py @@ -234,7 +234,7 @@ class TxDialog(QDialog): if self.tx.locktime > 0: vbox.addWidget(QLabel("LockTime: %d\n" % self.tx.locktime)) - vbox.addWidget(QLabel(_("Inputs"))) + vbox.addWidget(QLabel(_("Inputs") + ' (%d)'%len(self.tx.inputs))) ext = QTextCharFormat() rec = QTextCharFormat() @@ -273,7 +273,7 @@ class TxDialog(QDialog): cursor.insertBlock() vbox.addWidget(i_text) - vbox.addWidget(QLabel(_("Outputs"))) + vbox.addWidget(QLabel(_("Outputs") + ' (%d)'%len(self.tx.outputs))) o_text = QTextEdit() o_text.setFont(QFont(MONOSPACE_FONT)) o_text.setReadOnly(True)