From 623bdcdabe23d784d528f1d9c3047bcd2e161c52 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 16 Jan 2023 14:51:09 +0100 Subject: [PATCH] qml: switching dialog buttons seems to SEGV sometimes --- .../gui/qml/components/LightningPaymentProgressDialog.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/electrum/gui/qml/components/LightningPaymentProgressDialog.qml b/electrum/gui/qml/components/LightningPaymentProgressDialog.qml index c2bac7c1d..2eaed5780 100644 --- a/electrum/gui/qml/components/LightningPaymentProgressDialog.qml +++ b/electrum/gui/qml/components/LightningPaymentProgressDialog.qml @@ -16,7 +16,7 @@ ElDialog { height: parent.height title: qsTr('Paying Lightning Invoice...') - standardButtons: Dialog.Cancel + standardButtons: Dialog.Close modal: true parent: Overlay.overlay @@ -35,14 +35,14 @@ ElDialog { name: 'success' PropertyChanges { target: spinner; running: false } PropertyChanges { target: helpText; text: qsTr('Paid!') } - PropertyChanges { target: dialog; standardButtons: Dialog.Ok } + // PropertyChanges { target: dialog; standardButtons: Dialog.Ok } PropertyChanges { target: icon; source: '../../icons/confirmed.png' } }, State { name: 'failed' PropertyChanges { target: spinner; running: false } PropertyChanges { target: helpText; text: qsTr('Payment failed') } - PropertyChanges { target: dialog; standardButtons: Dialog.Ok } + // PropertyChanges { target: dialog; standardButtons: Dialog.Ok } PropertyChanges { target: errorText; visible: true } PropertyChanges { target: icon; source: '../../icons/warning.png' } }