From f4e58f1aad7481d1698cd2e0d86cbb98613df828 Mon Sep 17 00:00:00 2001 From: widdy Date: Tue, 22 May 2018 18:22:29 +0800 Subject: [PATCH] fix restoreHeightEdit is not defined. --- pages/Settings.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Settings.qml b/pages/Settings.qml index cc2d2a33..1ac6ac4e 100644 --- a/pages/Settings.qml +++ b/pages/Settings.qml @@ -686,7 +686,7 @@ Rectangle { if(Utils.isNumeric(_restoreHeight)){ _restoreHeight = parseInt(_restoreHeight); if(_restoreHeight >= 0) { - currentWallet.walletCreationHeight = restoreHeightEdit.text + currentWallet.walletCreationHeight = _restoreHeight // Restore height is saved in .keys file. Set password to trigger rewrite. currentWallet.setPassword(appWindow.walletPassword)