Browse Source

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

283
ThomasV 10 years ago
parent
commit
3e4cb396b3
  1. 4
      gui/qt/transaction_dialog.py

4
gui/qt/transaction_dialog.py

@ -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

Loading…
Cancel
Save