From e1f1e6f788b6d44cff2d45839728dc3962d216e8 Mon Sep 17 00:00:00 2001 From: f321x Date: Wed, 10 Dec 2025 10:55:16 +0100 Subject: [PATCH] qt: lnurlw: catch UserCancelled on lnurlw withdrawal Catch the UserCancelled exception if the user cancels the lnurlw coroutine dialog during the withdrawal. --- electrum/gui/qt/send_tab.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/gui/qt/send_tab.py b/electrum/gui/qt/send_tab.py index 2cbcdec9c..b3bdbd60e 100644 --- a/electrum/gui/qt/send_tab.py +++ b/electrum/gui/qt/send_tab.py @@ -1002,3 +1002,5 @@ class SendTab(QWidget, MessageBoxMixin, Logger): self.window.run_coroutine_dialog(coro, _("Requesting lightning withdrawal...")) except LNURLError as e: self.show_error(f"{_('Failed to request withdrawal')}:\n{str(e)}") + except UserCancelled: + pass