From 7e18e2ea3199380d78e75dec0da4e85939ddf170 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 25 Nov 2020 10:03:49 +0100 Subject: [PATCH] qt main_window: (trivial) fix error-handling for open_channel fixes #6776 --- electrum/gui/qt/main_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qt/main_window.py b/electrum/gui/qt/main_window.py index b252770a9..40c3bb77f 100644 --- a/electrum/gui/qt/main_window.py +++ b/electrum/gui/qt/main_window.py @@ -1769,7 +1769,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger): try: extract_nodeid(connect_str) except ConnStringFormatError as e: - self.main_window.show_error(str(e)) + self.show_error(str(e)) return # use ConfirmTxDialog # we need to know the fee before we broadcast, because the txid is required