tdo not display tx amounts in an offline wallet - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 1b2f75bb84970b258827ef3b67529a9f2286961c DIR parent 9543d2b5ec54ba6793fe09291bc5cb0593a3538a HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 15 Mar 2014 10:01:25 +0100 do not display tx amounts in an offline wallet Diffstat: M gui/qt/transaction_dialog.py | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py t@@ -155,6 +155,13 @@ class TxDialog(QDialog): else: self.date_label.hide() + + # if we are not synchronized, we cannot tell + if self.parent.network is None or not self.parent.network.is_running() or not self.parent.network.is_connected(): + return + if not self.wallet.up_to_date: + return + if is_relevant: if is_mine: if fee is not None: