mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-05 10:29:30 +00:00
fixed "Keys" CTRL+Y hotkey
This commit is contained in:
parent
3fd37b96a0
commit
af0f58f727
3 changed files with 4 additions and 2 deletions
|
@ -72,6 +72,7 @@ Rectangle {
|
||||||
else if(pos === "Sign") menuColumn.previousButton = signButton
|
else if(pos === "Sign") menuColumn.previousButton = signButton
|
||||||
else if(pos === "Settings") menuColumn.previousButton = settingsButton
|
else if(pos === "Settings") menuColumn.previousButton = settingsButton
|
||||||
else if(pos === "Advanced") menuColumn.previousButton = advancedButton
|
else if(pos === "Advanced") menuColumn.previousButton = advancedButton
|
||||||
|
else if(pos === "Keys") menuColumn.previousButton = keysButton
|
||||||
|
|
||||||
menuColumn.previousButton.checked = true
|
menuColumn.previousButton.checked = true
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ function showSeedPage() {
|
||||||
currentWallet.setSeedLanguage("English");
|
currentWallet.setSeedLanguage("English");
|
||||||
}
|
}
|
||||||
// Load keys page
|
// Load keys page
|
||||||
middlePanel.state = "Keys"
|
appWindow.showPageRequest("Keys");
|
||||||
} else {
|
} else {
|
||||||
informationPopup.title = qsTr("Error") + translationManager.emptyString;
|
informationPopup.title = qsTr("Error") + translationManager.emptyString;
|
||||||
informationPopup.text = qsTr("Wrong password");
|
informationPopup.text = qsTr("Wrong password");
|
||||||
|
@ -48,7 +48,7 @@ function showSeedPage() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
passwordDialog.onRejectedCallback = function() {
|
passwordDialog.onRejectedCallback = function() {
|
||||||
appWindow.showPageRequest("Settings");
|
leftPanel.selectItem(middlePanel.state);
|
||||||
}
|
}
|
||||||
passwordDialog.open();
|
passwordDialog.open();
|
||||||
if(isMobile) hideMenu();
|
if(isMobile) hideMenu();
|
||||||
|
|
1
main.qml
1
main.qml
|
@ -109,6 +109,7 @@ ApplicationWindow {
|
||||||
else if(seq === "Ctrl+I") middlePanel.state = "Sign"
|
else if(seq === "Ctrl+I") middlePanel.state = "Sign"
|
||||||
else if(seq === "Ctrl+G") middlePanel.state = "SharedRingDB"
|
else if(seq === "Ctrl+G") middlePanel.state = "SharedRingDB"
|
||||||
else if(seq === "Ctrl+E") middlePanel.state = "Settings"
|
else if(seq === "Ctrl+E") middlePanel.state = "Settings"
|
||||||
|
else if(seq === "Ctrl+Y") leftPanel.keysClicked()
|
||||||
else if(seq === "Ctrl+D") middlePanel.state = "Advanced"
|
else if(seq === "Ctrl+D") middlePanel.state = "Advanced"
|
||||||
else if(seq === "Ctrl+Tab" || seq === "Alt+Tab") {
|
else if(seq === "Ctrl+Tab" || seq === "Alt+Tab") {
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue