1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-21 03:45:53 +01:00

show correct height after switching wallets

requires #2724
This commit is contained in:
Jaquee 2017-10-24 18:05:55 +02:00
parent 7340371cc9
commit d8ebafaec0
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();