fix #1290
This commit is contained in:
parent
f3597f865b
commit
21f505a62c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue