Fix closing the login dialog

This commit is contained in:
Tobias Fella
2023-10-05 22:33:17 +02:00
parent 87aee162f1
commit ac231320a3
2 changed files with 7 additions and 1 deletions

View File

@@ -11,6 +11,9 @@ import org.kde.neochat
LoginStep {
id: root
signal closeDialog
FormCard.FormTextDelegate {
text: i18n("Please wait. This might take a little while.")
}
@@ -22,7 +25,7 @@ LoginStep {
Connections {
target: Controller
function onInitiated() {
closeDialog()
root.closeDialog()
}
}
}

View File

@@ -77,6 +77,9 @@ FormCard.FormCardPage {
headerMessage.text = "";
headerMessage.visible = false;
}
function onCloseDialog() {
root.closeDialog();
}
}
Connections {
target: Registration