commit 7e18e2ea3199380d78e75dec0da4e85939ddf170
parent 4ae2717ac7f581c0d30276b346373fdface92e42
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 25 Nov 2020 10:03:49 +0100
qt main_window: (trivial) fix error-handling for open_channel
fixes #6776
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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