From 0f26f38d1853e3c9d96f1f8a83ad2ad366fade81 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Wed, 23 Oct 2024 11:45:42 +0200 Subject: [PATCH] qml: use Pay... on buttons where payment is not immediate on press, fix trustedcoin icon in OtpDialog --- electrum/gui/qml/components/InvoiceDialog.qml | 2 +- electrum/gui/qml/components/LnurlPayRequestDialog.qml | 2 +- electrum/gui/qml/components/OtpDialog.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/electrum/gui/qml/components/InvoiceDialog.qml b/electrum/gui/qml/components/InvoiceDialog.qml index 8c5467f93..4cd687e6e 100644 --- a/electrum/gui/qml/components/InvoiceDialog.qml +++ b/electrum/gui/qml/components/InvoiceDialog.qml @@ -435,7 +435,7 @@ ElDialog { FlatButton { Layout.fillWidth: true Layout.preferredWidth: 1 - text: qsTr('Pay') + text: qsTr('Pay...') icon.source: '../../icons/confirmed.png' enabled: invoice.invoiceType != Invoice.Invalid && invoice.canPay onClicked: { diff --git a/electrum/gui/qml/components/LnurlPayRequestDialog.qml b/electrum/gui/qml/components/LnurlPayRequestDialog.qml index 30ffd5dfe..ce6b85f5f 100644 --- a/electrum/gui/qml/components/LnurlPayRequestDialog.qml +++ b/electrum/gui/qml/components/LnurlPayRequestDialog.qml @@ -131,7 +131,7 @@ ElDialog { FlatButton { Layout.topMargin: constants.paddingLarge Layout.fillWidth: true - text: qsTr('Pay') + text: qsTr('Pay...') icon.source: '../../icons/confirmed.png' enabled: valid onClicked: { diff --git a/electrum/gui/qml/components/OtpDialog.qml b/electrum/gui/qml/components/OtpDialog.qml index a32d2e38f..fe07a8051 100644 --- a/electrum/gui/qml/components/OtpDialog.qml +++ b/electrum/gui/qml/components/OtpDialog.qml @@ -11,7 +11,7 @@ ElDialog { id: dialog title: qsTr('Trustedcoin') - iconSource: '../../../icons/trustedcoin-status.png' + iconSource: Qt.resolvedUrl('../../../plugins/trustedcoin/trustedcoin-status.png') property string otpauth