diff --git a/electrum/gui/qml/components/WalletMainView.qml b/electrum/gui/qml/components/WalletMainView.qml index e2d7229ca..af2cc7972 100644 --- a/electrum/gui/qml/components/WalletMainView.qml +++ b/electrum/gui/qml/components/WalletMainView.qml @@ -114,7 +114,8 @@ Item { }) var canComplete = !Daemon.currentWallet.isWatchOnly && Daemon.currentWallet.canSignWithoutCosigner dialog.accepted.connect(function() { - invoice.saveInvoice() + if (invoice.canSave) + invoice.saveInvoice() if (!canComplete) { if (Daemon.currentWallet.isWatchOnly) { dialog.finalizer.saveOrShow()