don't disable broadcast button if we are online but not connected

This commit is contained in:
ThomasV 2015-06-03 14:23:11 +02:00
parent fc23b0f490
commit 3e4cb396b3
1 changed files with 2 additions and 2 deletions

View File

@ -177,8 +177,8 @@ class TxDialog(QDialog):
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():
self.broadcast_button.hide() # cannot broadcast when offline
if self.parent.network is None:
self.broadcast_button.disable() # cannot broadcast when offline
return
if not self.wallet.up_to_date:
return