From 703948cec49bceaaa8dfa8da4a410b3982040034 Mon Sep 17 00:00:00 2001 From: Jacob Brydolf Date: Mon, 10 Oct 2016 22:52:32 +0200 Subject: [PATCH] fix corrupt wallet on killed app during sync --- main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.qml b/main.qml index 5a6bcabb..89097b1e 100644 --- a/main.qml +++ b/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); }