diff --git a/native/AddData.qml b/native/AddData.qml index 23de68f..cfe45fa 100644 --- a/native/AddData.qml +++ b/native/AddData.qml @@ -116,6 +116,8 @@ Window { }); xhr.send(data); + dataScreen.close() + } function fetchGroups() { diff --git a/native/AddGroup.qml b/native/AddGroup.qml index e5dbda2..f22ee06 100644 --- a/native/AddGroup.qml +++ b/native/AddGroup.qml @@ -43,6 +43,7 @@ Window { onClicked: submit() Keys.onReturnPressed: submit() + } function submit() { @@ -63,5 +64,6 @@ Window { }); xhr.send(data); + dataScreen.close() } }