mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-19 16:13:55 +02:00
Receive: remove highlight of QR code menu if no menu item is hovered
This commit is contained in:
parent
113efbfdf0
commit
d3d78416d7
@ -152,13 +152,16 @@ Rectangle {
|
||||
Menu {
|
||||
id: qrMenu
|
||||
title: "QrCode"
|
||||
currentIndex: menuItem1.hovered ? 0 : menuItem2.hovered ? 1 : -1
|
||||
|
||||
MenuItem {
|
||||
id: menuItem1
|
||||
text: qsTr("Copy to clipboard") + translationManager.emptyString;
|
||||
onTriggered: walletManager.saveQrCodeToClipboard(generateQRCodeString())
|
||||
}
|
||||
|
||||
MenuItem {
|
||||
id: menuItem2
|
||||
text: qsTr("Save as Image") + translationManager.emptyString;
|
||||
onTriggered: qrFileDialog.open()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user