Daemon manager improvements

This commit is contained in:
Jaquee
2017-02-25 14:57:39 +01:00
parent ce10016408
commit 2ed59f41ed
4 changed files with 83 additions and 15 deletions

View File

@@ -235,7 +235,6 @@ ApplicationWindow {
}
function connectWallet(wallet) {
showProcessingSplash("Please wait...")
currentWallet = wallet
updateSyncing(false)
@@ -341,9 +340,6 @@ ApplicationWindow {
function onWalletRefresh() {
console.log(">>> wallet refreshed")
if (splash.visible) {
hideProcessingSplash()
}
// Daemon connected
leftPanel.networkStatus.connected = currentWallet.connected()
@@ -398,6 +394,7 @@ ApplicationWindow {
console.log("daemon started");
daemonRunning = true;
hideProcessingSplash();
currentWallet.connected(true);
}
function onDaemonStopped(){
console.log("daemon stopped");
@@ -1233,6 +1230,7 @@ ApplicationWindow {
}
onClosing: {
// Close wallet non async on exit
daemonManager.exit();
walletManager.closeWallet();
}