mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-22 02:34:36 +00:00
Merge pull request #2665
c6c094b
SettingsWallet: cleanup on wallet close (xiphon)
This commit is contained in:
commit
7afbcc9855
2 changed files with 4 additions and 6 deletions
3
main.qml
3
main.qml
|
@ -1113,6 +1113,9 @@ ApplicationWindow {
|
|||
rootItem.state = "wizard"
|
||||
// reset balance
|
||||
clearMoneroCardLabelText();
|
||||
middlePanel.addressBookView.clearFields();
|
||||
middlePanel.transferView.clearFields();
|
||||
middlePanel.receiveView.clearFields();
|
||||
// disable timers
|
||||
userInActivityTimer.running = false;
|
||||
simpleModeConnectionTimer.running = false;
|
||||
|
|
|
@ -54,12 +54,7 @@ Rectangle {
|
|||
description: qsTr("Logs out of this wallet.") + translationManager.emptyString
|
||||
title: qsTr("Close this wallet") + translationManager.emptyString
|
||||
|
||||
onClicked: {
|
||||
middlePanel.addressBookView.clearFields();
|
||||
middlePanel.transferView.clearFields();
|
||||
middlePanel.receiveView.clearFields();
|
||||
appWindow.showWizard();
|
||||
}
|
||||
onClicked: appWindow.showWizard()
|
||||
}
|
||||
|
||||
MoneroComponents.SettingsListItem {
|
||||
|
|
Loading…
Reference in a new issue