From f3b3a40ffeaecf0a069ece3a1768531356d401cf Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Tue, 7 Feb 2023 14:16:29 +0100 Subject: [PATCH] qml: add wallet button icon --- electrum/gui/qml/components/AddressDetails.qml | 2 +- electrum/gui/qml/components/Wallets.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/electrum/gui/qml/components/AddressDetails.qml b/electrum/gui/qml/components/AddressDetails.qml index a1abc2ff3..20534c45c 100644 --- a/electrum/gui/qml/components/AddressDetails.qml +++ b/electrum/gui/qml/components/AddressDetails.qml @@ -157,7 +157,7 @@ Pane { } ToolButton { icon.source: '../../icons/share.png' - icon.color: 'transparent' + enabled: modelData onClicked: { var dialog = app.genericShareDialog.createObject(root, { title: qsTr('Public key'), text: modelData } diff --git a/electrum/gui/qml/components/Wallets.qml b/electrum/gui/qml/components/Wallets.qml index 4796274da..39955ac9c 100644 --- a/electrum/gui/qml/components/Wallets.qml +++ b/electrum/gui/qml/components/Wallets.qml @@ -113,6 +113,7 @@ Pane { FlatButton { Layout.fillWidth: true text: 'Create Wallet' + icon.source: '../../icons/add.png' onClicked: rootItem.createWallet() } }