Merge pull request #3815

11a1695 LeftPanel: use correct shortcut modifier for Mac (selsta)
This commit is contained in:
luigi1111 2022-01-24 15:23:22 -05:00
commit 05b4a3dd6b
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -360,7 +360,7 @@ Rectangle {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
text: qsTr("Account") + translationManager.emptyString text: qsTr("Account") + translationManager.emptyString
symbol: (isMac ? "" : qsTr("Ctrl+")) + "T" + translationManager.emptyString symbol: (isMac ? "" : qsTr("Ctrl+")) + "T" + translationManager.emptyString
onClicked: { onClicked: {
parent.previousButton.checked = false parent.previousButton.checked = false
@ -382,7 +382,7 @@ Rectangle {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
text: qsTr("Send") + translationManager.emptyString text: qsTr("Send") + translationManager.emptyString
symbol: (isMac ? "" : qsTr("Ctrl+")) + "S" + translationManager.emptyString symbol: (isMac ? "" : qsTr("Ctrl+")) + "S" + translationManager.emptyString
onClicked: { onClicked: {
parent.previousButton.checked = false parent.previousButton.checked = false
parent.previousButton = transferButton parent.previousButton = transferButton
@ -404,7 +404,7 @@ Rectangle {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
text: qsTr("Address book") + translationManager.emptyString text: qsTr("Address book") + translationManager.emptyString
symbol: (isMac ? "" : qsTr("Ctrl+")) + "B" + translationManager.emptyString symbol: (isMac ? "" : qsTr("Ctrl+")) + "B" + translationManager.emptyString
under: transferButton under: transferButton
onClicked: { onClicked: {
parent.previousButton.checked = false parent.previousButton.checked = false
@ -426,7 +426,7 @@ Rectangle {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
text: qsTr("Receive") + translationManager.emptyString text: qsTr("Receive") + translationManager.emptyString
symbol: (isMac ? "" : qsTr("Ctrl+")) + "R" + translationManager.emptyString symbol: (isMac ? "" : qsTr("Ctrl+")) + "R" + translationManager.emptyString
onClicked: { onClicked: {
parent.previousButton.checked = false parent.previousButton.checked = false
parent.previousButton = receiveButton parent.previousButton = receiveButton
@ -448,7 +448,7 @@ Rectangle {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
text: qsTr("Transactions") + translationManager.emptyString text: qsTr("Transactions") + translationManager.emptyString
symbol: (isMac ? "" : qsTr("Ctrl+")) + "H" + translationManager.emptyString symbol: (isMac ? "" : qsTr("Ctrl+")) + "H" + translationManager.emptyString
onClicked: { onClicked: {
parent.previousButton.checked = false parent.previousButton.checked = false
parent.previousButton = historyButton parent.previousButton = historyButton
@ -470,7 +470,7 @@ Rectangle {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
text: qsTr("Advanced") + translationManager.emptyString text: qsTr("Advanced") + translationManager.emptyString
symbol: (isMac ? "" : qsTr("Ctrl+")) + "D" + translationManager.emptyString symbol: (isMac ? "" : qsTr("Ctrl+")) + "D" + translationManager.emptyString
onClicked: { onClicked: {
parent.previousButton.checked = false parent.previousButton.checked = false
parent.previousButton = advancedButton parent.previousButton = advancedButton
@ -491,7 +491,7 @@ Rectangle {
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
text: qsTr("Settings") + translationManager.emptyString text: qsTr("Settings") + translationManager.emptyString
symbol: (isMac ? "" : qsTr("Ctrl+")) + "E" + translationManager.emptyString symbol: (isMac ? "" : qsTr("Ctrl+")) + "E" + translationManager.emptyString
onClicked: { onClicked: {
parent.previousButton.checked = false parent.previousButton.checked = false
parent.previousButton = settingsButton parent.previousButton = settingsButton