mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
fix corrupt wallet on killed app during sync
This commit is contained in:
parent
8367cfab85
commit
703948cec4
1 changed files with 1 additions and 1 deletions
2
main.qml
2
main.qml
|
@ -144,7 +144,7 @@ ApplicationWindow {
|
|||
// basicPanel.paymentClicked.connect(handlePayment);
|
||||
|
||||
// currentWallet is defined on daemon address change - close/reopen
|
||||
if (currentWallet !== undefined) {
|
||||
if (currentWallet != undefined) {
|
||||
console.log("closing currentWallet")
|
||||
walletManager.closeWallet(currentWallet);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue