remove Seed & Keys subtab in left panel

This commit is contained in:
cryptochangements34 2019-06-03 17:32:38 -04:00
parent a5a90c7ed8
commit 7aff9e6af0
3 changed files with 10 additions and 29 deletions

View file

@ -65,7 +65,6 @@ Rectangle {
signal addressBookClicked()
signal miningClicked()
signal signClicked()
signal keysClicked()
signal merchantClicked()
signal accountClicked()
@ -82,7 +81,6 @@ Rectangle {
else if(pos === "Sign") menuColumn.previousButton = signButton
else if(pos === "Settings") menuColumn.previousButton = settingsButton
else if(pos === "Advanced") menuColumn.previousButton = advancedButton
else if(pos === "Keys") menuColumn.previousButton = keysButton
else if(pos === "Account") menuColumn.previousButton = accountButton
menuColumn.previousButton.checked = true
}
@ -727,30 +725,6 @@ Rectangle {
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
} // Flickable

View file

@ -157,7 +157,6 @@ ApplicationWindow {
else if(seq === "Ctrl+I") middlePanel.state = "Sign"
else if(seq === "Ctrl+G") middlePanel.state = "SharedRingDB"
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+T") middlePanel.state = "Account"
else if(seq === "Ctrl+Tab" || seq === "Alt+Tab") {
@ -1735,8 +1734,6 @@ ApplicationWindow {
updateBalance();
}
onKeysClicked: Utils.showSeedPage();
onAccountClicked: {
middlePanel.state = "Account";
middlePanel.flickable.contentY = 0;

View file

@ -216,6 +216,16 @@ Rectangle {
text: (viewOnlyQRCode.visible) ? qsTr("View Only Wallet") + translationManager.emptyString : qsTr("Spendable Wallet") + translationManager.emptyString
horizontalAlignment: Text.AlignHCenter
}
MoneroComponents.StandardButton {
small: true
text: qsTr("Done") + translationManager.emptyString
onClicked: {
loadPage("Settings")
}
anchors.horizontalCenter: parent.horizontalCenter
width: 135
}
}
}