Fix closing the login dialog
This commit is contained in:
@@ -11,6 +11,9 @@ import org.kde.neochat
|
|||||||
|
|
||||||
LoginStep {
|
LoginStep {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
signal closeDialog
|
||||||
|
|
||||||
FormCard.FormTextDelegate {
|
FormCard.FormTextDelegate {
|
||||||
text: i18n("Please wait. This might take a little while.")
|
text: i18n("Please wait. This might take a little while.")
|
||||||
}
|
}
|
||||||
@@ -22,7 +25,7 @@ LoginStep {
|
|||||||
Connections {
|
Connections {
|
||||||
target: Controller
|
target: Controller
|
||||||
function onInitiated() {
|
function onInitiated() {
|
||||||
closeDialog()
|
root.closeDialog()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,6 +77,9 @@ FormCard.FormCardPage {
|
|||||||
headerMessage.text = "";
|
headerMessage.text = "";
|
||||||
headerMessage.visible = false;
|
headerMessage.visible = false;
|
||||||
}
|
}
|
||||||
|
function onCloseDialog() {
|
||||||
|
root.closeDialog();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Connections {
|
Connections {
|
||||||
target: Registration
|
target: Registration
|
||||||
|
|||||||
Reference in New Issue
Block a user