From d8ebafaec0384ad0de10d66572c733972d2b9487 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Tue, 24 Oct 2017 18:05:55 +0200 Subject: [PATCH] show correct height after switching wallets requires #2724 --- pages/Settings.qml | 2 -- src/libwalletqt/Wallet.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/Settings.qml b/pages/Settings.qml index b5b960c847..61e1cd161a 100644 --- a/pages/Settings.qml +++ b/pages/Settings.qml @@ -506,7 +506,6 @@ Rectangle { onLinkActivated: { restoreHeightRow.visible = true; - text = txt } } @@ -538,7 +537,6 @@ Rectangle { currentWallet.walletCreationHeight = restoreHeight.text // Restore height is saved in .keys file. Set password to trigger rewrite. currentWallet.setPassword(appWindow.password) - restoreHeightText.text = restoreHeightText.txt + restoreHeightText.linkTxt restoreHeightRow.visible = false // Show confirmation dialog diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp index 4238940ac5..8525bf3a5e 100644 --- a/src/libwalletqt/Wallet.cpp +++ b/src/libwalletqt/Wallet.cpp @@ -207,6 +207,7 @@ void Wallet::initAsync(const QString &daemonAddress, quint64 upperTransactionLim QFuture future = watcher->future(); watcher->deleteLater(); if(future.result()){ + emit walletCreationHeightChanged(); qDebug() << "init async finished - starting refresh"; connected(true); m_walletImpl->startRefresh();