Skip to content

Commit

Permalink
Merge pull request #929
Browse files Browse the repository at this point in the history
d8ebafa show correct height after switching wallets
  • Loading branch information
luigi1111 committed Oct 24, 2017
2 parents 7340371 + d8ebafa commit 6f14fde
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 6f14fde

Please sign in to comment.