don't disable broadcast button if we are online but not connected
This commit is contained in:
parent
fc23b0f490
commit
3e4cb396b3
|
@ -177,8 +177,8 @@ class TxDialog(QDialog):
|
||||||
self.date_label.hide()
|
self.date_label.hide()
|
||||||
|
|
||||||
# if we are not synchronized, we cannot tell
|
# 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():
|
if self.parent.network is None:
|
||||||
self.broadcast_button.hide() # cannot broadcast when offline
|
self.broadcast_button.disable() # cannot broadcast when offline
|
||||||
return
|
return
|
||||||
if not self.wallet.up_to_date:
|
if not self.wallet.up_to_date:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue