ThomasV 11 years ago
parent
commit
21f505a62c
  1. 7
      gui/qt/transaction_dialog.py

7
gui/qt/transaction_dialog.py

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

Loading…
Cancel
Save