Browse Source

qml: add sweep icon

master
Sander van Grieken 1 year ago
parent
commit
a8833eb650
No known key found for this signature in database
GPG Key ID: 9BCF8209EA402EBA
  1. BIN
      electrum/gui/icons/sweep.png
  2. 2
      electrum/gui/qml/components/SweepDialog.qml
  3. 2
      electrum/gui/qml/components/WalletMainView.qml

BIN
electrum/gui/icons/sweep.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

2
electrum/gui/qml/components/SweepDialog.qml

@ -10,7 +10,7 @@ ElDialog {
id: root
title: qsTr('Sweep private keys')
iconSource: Qt.resolvedUrl('../../icons/add.png')
iconSource: Qt.resolvedUrl('../../icons/sweep.png')
property bool valid: false
property string privateKeys

2
electrum/gui/qml/components/WalletMainView.qml

@ -208,7 +208,7 @@ Item {
MenuItem {
icon.color: action.enabled ? 'transparent' : Material.iconDisabledColor
icon.source: '../../icons/add.png'
icon.source: '../../icons/sweep.png'
action: Action {
text: qsTr('Sweep key')
enabled: !Daemon.currentWallet.isWatchOnly // watchonly might be acceptable

Loading…
Cancel
Save