tfix bug #963 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 3d32bba0b9570916c3a433d5c3737079b8f56c3f DIR parent 477b7c340256d399fc485d4c4aa67ca361470a4a HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 27 Dec 2014 16:54:08 +0100 fix bug #963 Diffstat: M gui/qt/main_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1157,12 +1157,12 @@ class ElectrumWindow(QMainWindow): return tx def sign_done(tx): - if label: - self.wallet.set_label(tx.hash(), label) if not tx.is_complete() or self.config.get('show_before_broadcast'): self.show_transaction(tx) self.do_clear() return + if label: + self.wallet.set_label(tx.hash(), label) self.broadcast_transaction(tx) # keep a reference to WaitingDialog or the gui might crash