tdon't disable broadcast button if we are online but not connected - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 3e4cb396b322e184021016197585dea3e8cf0ffc
DIR parent fc23b0f49037df3263bf8b5378c3937844375502
HTML Author: ThomasV <thomasv@gitorious>
Date: Wed, 3 Jun 2015 14:23:11 +0200
don't disable broadcast button if we are online but not connected
Diffstat:
M gui/qt/transaction_dialog.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py
t@@ -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