mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
fix advanced hotkey + menu separators
This commit is contained in:
parent
cf95742433
commit
c51a28f206
2 changed files with 11 additions and 3 deletions
|
@ -62,6 +62,7 @@ Rectangle {
|
|||
else if(pos === "TxKey") menuColumn.previousButton = txkeyButton
|
||||
else if(pos === "Sign") menuColumn.previousButton = signButton
|
||||
else if(pos === "Settings") menuColumn.previousButton = settingsButton
|
||||
else if(pos === "Advanced") menuColumn.previousButton = advancedButton
|
||||
|
||||
menuColumn.previousButton.checked = true
|
||||
}
|
||||
|
@ -259,6 +260,7 @@ Rectangle {
|
|||
}
|
||||
|
||||
Rectangle {
|
||||
visible: transferButton.present
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.leftMargin: 16
|
||||
|
@ -307,6 +309,7 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
Rectangle {
|
||||
visible: receiveButton.present
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.leftMargin: 16
|
||||
|
@ -330,6 +333,7 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
Rectangle {
|
||||
visible: historyButton.present
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.leftMargin: 16
|
||||
|
@ -343,7 +347,7 @@ Rectangle {
|
|||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
text: qsTr("Advanced") + translationManager.emptyString
|
||||
symbol: qsTr("A") + translationManager.emptyString
|
||||
symbol: qsTr("D") + translationManager.emptyString
|
||||
dotColor: "#FFD781"
|
||||
onClicked: {
|
||||
parent.previousButton.checked = false
|
||||
|
@ -351,6 +355,7 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
Rectangle {
|
||||
visible: advancedButton.present
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.leftMargin: 16
|
||||
|
@ -375,6 +380,7 @@ Rectangle {
|
|||
}
|
||||
|
||||
Rectangle {
|
||||
visible: miningButton.present
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.leftMargin: 16
|
||||
|
|
6
main.qml
6
main.qml
|
@ -84,8 +84,9 @@ ApplicationWindow {
|
|||
return
|
||||
}
|
||||
|
||||
if(seq === "Ctrl+D") middlePanel.state = "Dashboard"
|
||||
else if(seq === "Ctrl+S") middlePanel.state = "Transfer"
|
||||
// Dashboard is not implemented
|
||||
// if(seq === "Ctrl+") middlePanel.state = "Dashboard"
|
||||
if(seq === "Ctrl+S") middlePanel.state = "Transfer"
|
||||
else if(seq === "Ctrl+R") middlePanel.state = "Receive"
|
||||
else if(seq === "Ctrl+K") middlePanel.state = "TxKey"
|
||||
else if(seq === "Ctrl+H") middlePanel.state = "History"
|
||||
|
@ -93,6 +94,7 @@ ApplicationWindow {
|
|||
else if(seq === "Ctrl+M") middlePanel.state = "Mining"
|
||||
else if(seq === "Ctrl+I") middlePanel.state = "Sign"
|
||||
else if(seq === "Ctrl+E") middlePanel.state = "Settings"
|
||||
else if(seq === "Ctrl+D") middlePanel.state = "Advanced"
|
||||
else if(seq === "Ctrl+Tab" || seq === "Alt+Tab") {
|
||||
/*
|
||||
if(middlePanel.state === "Dashboard") middlePanel.state = "Transfer"
|
||||
|
|
Loading…
Reference in a new issue