forked from Public/monero-gui
daemonManagerDialog: added starting signal
This commit is contained in:
@@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user