diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 7fd2f365..ec9ad014 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -1283,9 +1283,9 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): if status: if tx_desc is not None and tx.is_complete(): self.wallet.set_label(tx.hash(), tx_desc) - parent.show_message(_('Payment sent.') + '\n' + msg) - self.invoice_list.update() - self.do_clear() + parent.show_message(_('Payment sent.') + '\n' + msg) + self.invoice_list.update() + self.do_clear() else: parent.show_error(msg)