mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-25 12:05:54 +00:00
daemonManagerDialog: added starting signal
This commit is contained in:
parent
3a431543fa
commit
5855700007
1 changed files with 3 additions and 2 deletions
|
@ -41,6 +41,7 @@ Window {
|
||||||
flags: Qt.Window | Qt.FramelessWindowHint
|
flags: Qt.Window | Qt.FramelessWindowHint
|
||||||
|
|
||||||
signal rejected()
|
signal rejected()
|
||||||
|
signal started();
|
||||||
|
|
||||||
function open() {
|
function open() {
|
||||||
show()
|
show()
|
||||||
|
@ -91,7 +92,7 @@ Window {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
daemonManager.start();
|
daemonManager.start();
|
||||||
root.close()
|
root.close()
|
||||||
// root.accepted()
|
root.started()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,8 +107,8 @@ Window {
|
||||||
text: qsTr("Cancel")
|
text: qsTr("Cancel")
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
root.rejected()
|
|
||||||
root.close()
|
root.close()
|
||||||
|
root.rejected()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue