This commit is contained in:
ThomasV 2015-06-12 05:06:23 +02:00
parent f3597f865b
commit 21f505a62c
1 changed files with 4 additions and 3 deletions

View File

@ -177,10 +177,11 @@ class TxDialog(QWidget):
else:
self.date_label.hide()
# if we are not synchronized, we cannot tell
# cannot broadcast when offline
if self.parent.network is None:
self.broadcast_button.disable() # cannot broadcast when offline
return
self.broadcast_button.setEnabled(False)
# if we are not synchronized, we cannot tell
if not self.wallet.up_to_date:
return