diff --git a/electrum/gui/qt/send_tab.py b/electrum/gui/qt/send_tab.py index f8cb471b0..00671159e 100644 --- a/electrum/gui/qt/send_tab.py +++ b/electrum/gui/qt/send_tab.py @@ -682,11 +682,12 @@ class SendTab(QWidget, MessageBoxMixin, Logger): _('Funds will be sent to the invoice fallback address.') ]) choices[3] = msg - if not choices: - raise NotEnoughFunds() msg = _('You cannot pay that invoice using Lightning.') if self.wallet.lnworker.channels: msg += '\n' + _('Your channels can send {}.').format(self.format_amount(num_sats_can_send) + self.base_unit()) + if not choices: + self.window.show_error(msg) + return r = self.window.query_choice(msg, choices) if r is not None: self.save_pending_invoice()