tfix #1401 - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 1b3f450267892fee5a5d78fdc2aee20650d28da2
DIR parent bfae04e6f00579645a8f970bc4604fdc400b48ca
HTML Author: ThomasV <thomasv@gitorious>
Date: Sun, 16 Aug 2015 11:43:59 +0200
fix #1401
Diffstat:
M gui/qt/main_window.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
t@@ -1239,9 +1239,10 @@ class ElectrumWindow(QMainWindow):
outputs, fee, tx_desc, coins = r
try:
tx = self.wallet.make_unsigned_transaction(coins, outputs, self.config, fee)
- if not tx:
- raise BaseException(_("Insufficient funds"))
- except Exception as e:
+ except NotEnoughFunds:
+ self.show_message(_("Insufficient funds"))
+ return
+ except BaseException as e:
traceback.print_exc(file=sys.stdout)
self.show_message(str(e))
return