mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
remove Seed & Keys subtab in left panel
This commit is contained in:
parent
a5a90c7ed8
commit
7aff9e6af0
3 changed files with 10 additions and 29 deletions
|
@ -65,7 +65,6 @@ Rectangle {
|
||||||
signal addressBookClicked()
|
signal addressBookClicked()
|
||||||
signal miningClicked()
|
signal miningClicked()
|
||||||
signal signClicked()
|
signal signClicked()
|
||||||
signal keysClicked()
|
|
||||||
signal merchantClicked()
|
signal merchantClicked()
|
||||||
signal accountClicked()
|
signal accountClicked()
|
||||||
|
|
||||||
|
@ -82,7 +81,6 @@ 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
|
|
||||||
else if(pos === "Account") menuColumn.previousButton = accountButton
|
else if(pos === "Account") menuColumn.previousButton = accountButton
|
||||||
menuColumn.previousButton.checked = true
|
menuColumn.previousButton.checked = true
|
||||||
}
|
}
|
||||||
|
@ -727,30 +725,6 @@ Rectangle {
|
||||||
anchors.leftMargin: 16
|
anchors.leftMargin: 16
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------- Sign/verify tab ---------------
|
|
||||||
MoneroComponents.MenuButton {
|
|
||||||
id: keysButton
|
|
||||||
visible: appWindow.walletMode >= 2
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.right: parent.right
|
|
||||||
text: qsTr("Seed & Keys") + translationManager.emptyString
|
|
||||||
symbol: qsTr("Y") + translationManager.emptyString
|
|
||||||
dotColor: "#FFD781"
|
|
||||||
under: settingsButton
|
|
||||||
onClicked: {
|
|
||||||
parent.previousButton.checked = false
|
|
||||||
parent.previousButton = keysButton
|
|
||||||
panel.keysClicked()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
MoneroComponents.MenuButtonDivider {
|
|
||||||
visible: settingsButton.present && settingsButton.checked && appWindow.walletMode >= 2
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.right: parent.right
|
|
||||||
anchors.leftMargin: 16
|
|
||||||
}
|
|
||||||
|
|
||||||
} // Column
|
} // Column
|
||||||
|
|
||||||
} // Flickable
|
} // Flickable
|
||||||
|
|
3
main.qml
3
main.qml
|
@ -157,7 +157,6 @@ 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+T") middlePanel.state = "Account"
|
else if(seq === "Ctrl+T") middlePanel.state = "Account"
|
||||||
else if(seq === "Ctrl+Tab" || seq === "Alt+Tab") {
|
else if(seq === "Ctrl+Tab" || seq === "Alt+Tab") {
|
||||||
|
@ -1735,8 +1734,6 @@ ApplicationWindow {
|
||||||
updateBalance();
|
updateBalance();
|
||||||
}
|
}
|
||||||
|
|
||||||
onKeysClicked: Utils.showSeedPage();
|
|
||||||
|
|
||||||
onAccountClicked: {
|
onAccountClicked: {
|
||||||
middlePanel.state = "Account";
|
middlePanel.state = "Account";
|
||||||
middlePanel.flickable.contentY = 0;
|
middlePanel.flickable.contentY = 0;
|
||||||
|
|
|
@ -216,6 +216,16 @@ Rectangle {
|
||||||
text: (viewOnlyQRCode.visible) ? qsTr("View Only Wallet") + translationManager.emptyString : qsTr("Spendable Wallet") + translationManager.emptyString
|
text: (viewOnlyQRCode.visible) ? qsTr("View Only Wallet") + translationManager.emptyString : qsTr("Spendable Wallet") + translationManager.emptyString
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MoneroComponents.StandardButton {
|
||||||
|
small: true
|
||||||
|
text: qsTr("Done") + translationManager.emptyString
|
||||||
|
onClicked: {
|
||||||
|
loadPage("Settings")
|
||||||
|
}
|
||||||
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
width: 135
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue