tfix #1290 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 21f505a62c45c607045b63f030431d7ef4e6a7e2
DIR parent f3597f865b8e47fd3a62855e6a5b5e48274a9a9b
HTML Author: ThomasV <thomasv@gitorious>
Date: Fri, 12 Jun 2015 05:06:23 +0200
fix #1290
Diffstat:
M gui/qt/transaction_dialog.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py
t@@ -177,10 +177,11 @@ class TxDialog(QWidget):
else:
self.date_label.hide()
- # if we are not synchronized, we cannot tell
+ # cannot broadcast when offline
if self.parent.network is None:
- self.broadcast_button.disable() # cannot broadcast when offline
- return
+ self.broadcast_button.setEnabled(False)
+
+ # if we are not synchronized, we cannot tell
if not self.wallet.up_to_date:
return