Merge pull request #929

d8ebafa show correct height after switching wallets
This commit is contained in:
luigi1111 2017-10-24 14:35:44 -05:00
commit 6f14fde89c
No known key found for this signature in database
GPG key ID: F4ACA0183641E010
2 changed files with 1 additions and 2 deletions

View file

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

View file

@ -207,6 +207,7 @@ void Wallet::initAsync(const QString &daemonAddress, quint64 upperTransactionLim
QFuture<bool> future = watcher->future();
watcher->deleteLater();
if(future.result()){
emit walletCreationHeightChanged();
qDebug() << "init async finished - starting refresh";
connected(true);
m_walletImpl->startRefresh();