fix #1290
This commit is contained in:
@@ -177,10 +177,11 @@ class TxDialog(QWidget):
|
|||||||
else:
|
else:
|
||||||
self.date_label.hide()
|
self.date_label.hide()
|
||||||
|
|
||||||
# if we are not synchronized, we cannot tell
|
# cannot broadcast when offline
|
||||||
if self.parent.network is None:
|
if self.parent.network is None:
|
||||||
self.broadcast_button.disable() # cannot broadcast when offline
|
self.broadcast_button.setEnabled(False)
|
||||||
return
|
|
||||||
|
# if we are not synchronized, we cannot tell
|
||||||
if not self.wallet.up_to_date:
|
if not self.wallet.up_to_date:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user