native: add closing funktion

fixses #25
This commit is contained in:
Schnitzel 2024-07-12 09:27:17 +02:00
parent 288a40281b
commit cb0a920653
2 changed files with 4 additions and 0 deletions

View file

@ -116,6 +116,8 @@ Window {
}); });
xhr.send(data); xhr.send(data);
dataScreen.close()
} }
function fetchGroups() { function fetchGroups() {

View file

@ -43,6 +43,7 @@ Window {
onClicked: submit() onClicked: submit()
Keys.onReturnPressed: submit() Keys.onReturnPressed: submit()
} }
function submit() { function submit() {
@ -63,5 +64,6 @@ Window {
}); });
xhr.send(data); xhr.send(data);
dataScreen.close()
} }
} }