From 674c2b55e7574d86d17b354717de3d71907d4fbd Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 24 Apr 2023 12:38:41 +0200 Subject: [PATCH] qml: small fixes --- electrum/gui/qml/components/Wallets.qml | 2 +- electrum/gui/qml/components/controls/InfoTextArea.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/gui/qml/components/Wallets.qml b/electrum/gui/qml/components/Wallets.qml index 4a8949a37..fb25da666 100644 --- a/electrum/gui/qml/components/Wallets.qml +++ b/electrum/gui/qml/components/Wallets.qml @@ -118,7 +118,7 @@ Pane { FlatButton { Layout.fillWidth: true - text: 'Create Wallet' + text: qsTr('Create Wallet') icon.source: '../../icons/add.png' onClicked: rootItem.createWallet() } diff --git a/electrum/gui/qml/components/controls/InfoTextArea.qml b/electrum/gui/qml/components/controls/InfoTextArea.qml index dcdab8c4c..9b4db966f 100644 --- a/electrum/gui/qml/components/controls/InfoTextArea.qml +++ b/electrum/gui/qml/components/controls/InfoTextArea.qml @@ -39,7 +39,7 @@ TextHighlightPane { Image { Layout.preferredWidth: constants.iconSizeMedium Layout.preferredHeight: constants.iconSizeMedium - visible: iconStyle != InfoTextArea.IconStyle.Spinner + visible: iconStyle != InfoTextArea.IconStyle.Spinner && iconStyle != InfoTextArea.IconStyle.None source: iconStyle == InfoTextArea.IconStyle.Info ? "../../../icons/info.png" : iconStyle == InfoTextArea.IconStyle.Warn