fix restoreHeightEdit is not defined.

pull/2/head
widdy 6 years ago committed by GitHub
parent 9272767e4e
commit f4e58f1aad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)