aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.qml9
-rw-r--r--pages/Settings.qml4
2 files changed, 11 insertions, 2 deletions
diff --git a/main.qml b/main.qml
index f51ffded..e464fcb7 100644
--- a/main.qml
+++ b/main.qml
@@ -325,6 +325,15 @@ ApplicationWindow {
onWalletUpdate();
}
+ function startDaemon(){
+ appWindow.showProcessingSplash(qsTr("Waiting for daemon to start..."))
+ daemonManager.start();
+ }
+ function stopDaemon(){
+ appWindow.showProcessingSplash(qsTr("Waiting for daemon to stop..."))
+ daemonManager.stop();
+ }
+
function onDaemonStarted(){
console.log("daemon started");
daemonRunning = true;
diff --git a/pages/Settings.qml b/pages/Settings.qml
index eba450d7..9b6e618c 100644
--- a/pages/Settings.qml
+++ b/pages/Settings.qml
@@ -290,7 +290,7 @@ Rectangle {
releasedColor: "#FF6C3C"
pressedColor: "#FF4304"
onClicked: {
- daemonManager.start();
+ appWindow.startDaemon()
}
}
@@ -305,7 +305,7 @@ Rectangle {
releasedColor: "#FF6C3C"
pressedColor: "#FF4304"
onClicked: {
- daemonManager.stop();
+ appWindow.stopDaemon()
}
}