From d3d78416d7d56b211394b66d3ba812c83f6afd6b Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Thu, 2 Sep 2021 20:49:54 +0200 Subject: [PATCH] Receive: remove highlight of QR code menu if no menu item is hovered --- pages/Receive.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/Receive.qml b/pages/Receive.qml index 5282a106..5e34f59e 100644 --- a/pages/Receive.qml +++ b/pages/Receive.qml @@ -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() }