mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Merge pull request #929
d8ebafa
show correct height after switching wallets
This commit is contained in:
commit
6f14fde89c
2 changed files with 1 additions and 2 deletions
|
@ -506,7 +506,6 @@ Rectangle {
|
||||||
|
|
||||||
onLinkActivated: {
|
onLinkActivated: {
|
||||||
restoreHeightRow.visible = true;
|
restoreHeightRow.visible = true;
|
||||||
text = txt
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -538,7 +537,6 @@ Rectangle {
|
||||||
currentWallet.walletCreationHeight = restoreHeight.text
|
currentWallet.walletCreationHeight = restoreHeight.text
|
||||||
// Restore height is saved in .keys file. Set password to trigger rewrite.
|
// Restore height is saved in .keys file. Set password to trigger rewrite.
|
||||||
currentWallet.setPassword(appWindow.password)
|
currentWallet.setPassword(appWindow.password)
|
||||||
restoreHeightText.text = restoreHeightText.txt + restoreHeightText.linkTxt
|
|
||||||
restoreHeightRow.visible = false
|
restoreHeightRow.visible = false
|
||||||
|
|
||||||
// Show confirmation dialog
|
// Show confirmation dialog
|
||||||
|
|
|
@ -207,6 +207,7 @@ void Wallet::initAsync(const QString &daemonAddress, quint64 upperTransactionLim
|
||||||
QFuture<bool> future = watcher->future();
|
QFuture<bool> future = watcher->future();
|
||||||
watcher->deleteLater();
|
watcher->deleteLater();
|
||||||
if(future.result()){
|
if(future.result()){
|
||||||
|
emit walletCreationHeightChanged();
|
||||||
qDebug() << "init async finished - starting refresh";
|
qDebug() << "init async finished - starting refresh";
|
||||||
connected(true);
|
connected(true);
|
||||||
m_walletImpl->startRefresh();
|
m_walletImpl->startRefresh();
|
||||||
|
|
Loading…
Reference in a new issue