forked from Public/monero-gui
show processingSplash when starting/stopping daemon
This commit is contained in:
9
main.qml
9
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;
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user