tfix #5702 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 0a6ac7c61a8a1026fa4cda72f11d17b61629f9c1 DIR parent d1f4804962c46cb873e3bcc4608a0423291f18b3 HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 16 Oct 2019 12:01:52 +0200 fix #5702 Diffstat: M electrum/gui/qt/main_window.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py t@@ -1741,7 +1741,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): return if not preview: self.wallet.save_invoice(invoice) - self.do_clear() self.invoice_list.update() self.do_pay_invoice(invoice, preview) t@@ -1828,9 +1827,9 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): def sign_done(success): if success: + self.do_clear() if not tx.is_complete(): self.show_transaction(tx) - self.do_clear() else: self.broadcast_transaction(tx, message) self.sign_tx_with_password(tx, sign_done, password)