Merge pull request #1425

f4e58f1 fix restoreHeightEdit is not defined.
This commit is contained in:
luigi1111 2018-05-22 12:19:48 -05:00
commit 8efddfbb77
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

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