do not display tx amounts in an offline wallet

This commit is contained in:
ThomasV 2014-03-15 10:01:25 +01:00
parent 9543d2b5ec
commit 1b2f75bb84
1 changed files with 7 additions and 0 deletions

View File

@ -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: