mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
show processingSplash when starting/stopping daemon
This commit is contained in:
parent
8361dda994
commit
bb881d9aef
2 changed files with 11 additions and 2 deletions
9
main.qml
9
main.qml
|
@ -325,6 +325,15 @@ ApplicationWindow {
|
||||||
onWalletUpdate();
|
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(){
|
function onDaemonStarted(){
|
||||||
console.log("daemon started");
|
console.log("daemon started");
|
||||||
daemonRunning = true;
|
daemonRunning = true;
|
||||||
|
|
|
@ -290,7 +290,7 @@ Rectangle {
|
||||||
releasedColor: "#FF6C3C"
|
releasedColor: "#FF6C3C"
|
||||||
pressedColor: "#FF4304"
|
pressedColor: "#FF4304"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
daemonManager.start();
|
appWindow.startDaemon()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -305,7 +305,7 @@ Rectangle {
|
||||||
releasedColor: "#FF6C3C"
|
releasedColor: "#FF6C3C"
|
||||||
pressedColor: "#FF4304"
|
pressedColor: "#FF4304"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
daemonManager.stop();
|
appWindow.stopDaemon()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue