From 56ead899839be05b4a94cfa26836e62a8dc52716 Mon Sep 17 00:00:00 2001 From: Schnitzel Date: Fri, 12 Jul 2024 10:49:41 +0200 Subject: [PATCH] native: add note endpoint fixes #31 --- native/AddData.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/native/AddData.qml b/native/AddData.qml index b4acfc4..88a1d64 100644 --- a/native/AddData.qml +++ b/native/AddData.qml @@ -67,17 +67,17 @@ Window { text = text.replace(/[^0-9]/g, "") } - Keys.onReturnPressed: notizenT.focus = true + Keys.onReturnPressed: noteT.focus = true } TextField { - id: notizenT + id: noteT anchors { horizontalCenter: parent.horizontalCenter topMargin: 5 top: amountT.bottom } - placeholderText: qsTr("Notizen") + placeholderText: qsTr("Notes") Keys.onReturnPressed: groupSelector.focus = true } @@ -86,7 +86,7 @@ Window { anchors { horizontalCenter: parent.horizontalCenter topMargin: 5 - top: notizenT.bottom + top: noteT.bottom } model: groupsModel @@ -123,6 +123,7 @@ Window { var data = JSON.stringify({ name: nameT.text, key: keyT.text, + note: noteT.text, amount: parseInt(amountT.text), group_id: groupSelector.currentIndex !== -1 ? groupsModel.get(groupSelector.currentIndex).id : "", });