forked from Public/monero-gui
Added daemon BC sync progress bar
depends on https://github.com/monero-project/monero/pull/1173 Signed-off-by: Jacob Brydolf <jacob@brydolf.net>
This commit is contained in:
committed by
Ilya Kitaev
parent
6a50951940
commit
af70c81082
5
main.qml
5
main.qml
@@ -221,6 +221,9 @@ ApplicationWindow {
|
||||
if (splash.visible) {
|
||||
hideProcessingSplash()
|
||||
}
|
||||
var dCurrentBlock = currentWallet.daemonBlockChainHeight();
|
||||
var dTargetBlock = currentWallet.daemonBlockChainTargetHeight();
|
||||
leftPanel.daemonProgress.updateProgress(dCurrentBlock,dTargetBlock);
|
||||
|
||||
// Store wallet after first refresh. To prevent broken wallet after a crash
|
||||
// TODO: Move this to libwallet?
|
||||
@@ -231,6 +234,7 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
leftPanel.networkStatus.connected = currentWallet.connected
|
||||
|
||||
onWalletUpdate();
|
||||
}
|
||||
|
||||
@@ -247,6 +251,7 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
|
||||
|
||||
function walletsFound() {
|
||||
var wallets = walletManager.findWallets(moneroAccountsDir);
|
||||
if (wallets.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user