Browse Source

transaction_dialog: hide broadcast button when offline

283
Roman Zeyde 10 years ago
parent
commit
b5c31cd031
  1. 1
      gui/qt/transaction_dialog.py

1
gui/qt/transaction_dialog.py

@ -178,6 +178,7 @@ class TxDialog(QDialog):
# 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
return
if not self.wallet.up_to_date:
return

Loading…
Cancel
Save