Skip to content

Commit

Permalink
show correct height after switching wallets
Browse files Browse the repository at this point in the history
requires #2724
  • Loading branch information
Jaqueeee committed Oct 24, 2017
1 parent 7340371 commit d8ebafa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions pages/Settings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ Rectangle {

onLinkActivated: {
restoreHeightRow.visible = true;
text = txt
}

}
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/libwalletqt/Wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d8ebafa

Please sign in to comment.