ttx window can show amount even if we are not synchronized - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit c934c5d55c7affb8430e9af4e0f4d82c05fd5de6 (DIR) parent c05c49a18f3a036d5d3499a87c48d7018841d554 (HTM) Author: ThomasV <thomasv@electrum.org> Date: Wed, 28 Sep 2016 08:45:22 +0200 ttx window can show amount even if we are not synchronized Diffstat: M gui/qt/transaction_dialog.py | 6 ------ 1 file changed, 0 insertions(+), 6 deletions(-) --- (DIR) diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py t@@ -208,9 +208,6 @@ class TxDialog(QDialog, MessageBoxMixin): self.date_label.show() else: self.date_label.hide() - # if we are not synchronized, we cannot tell - if not self.wallet.up_to_date: - return if amount is None: amount_str = _("Transaction unrelated to your wallet") elif amount > 0: t@@ -222,14 +219,11 @@ class TxDialog(QDialog, MessageBoxMixin): self.fee_label.setText(fee_str) run_hook('transaction_dialog_update', self) - def add_io(self, vbox): - if self.tx.locktime > 0: vbox.addWidget(QLabel("LockTime: %d\n" % self.tx.locktime)) vbox.addWidget(QLabel(_("Inputs") + ' (%d)'%len(self.tx.inputs()))) - ext = QTextCharFormat() rec = QTextCharFormat() rec.setBackground(QBrush(QColor("lightgreen")))