From caefe3a5162382312aaa9ac61dc5e7035e3f8f44 Mon Sep 17 00:00:00 2001 From: amassies <alexandre.massies@etu.ec-lyon.fr> Date: Fri, 28 Mar 2025 16:25:25 +0100 Subject: [PATCH] backup --- Motus/Main.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Motus/Main.qml b/Motus/Main.qml index d1b4027..030b30a 100644 --- a/Motus/Main.qml +++ b/Motus/Main.qml @@ -35,11 +35,10 @@ Window { } event.accepted = true; } else if (event.key === Qt.Key_Backspace) { - if (case_focus && case_focus._textText !== undefined) - case_focus._textText = ""; if (indice_case > 0) { indice_case--; case_focus = caseArray[indice_case]; + case_focus._textText = " "; } event.accepted = true; } @@ -196,7 +195,6 @@ Window { anchors.bottomMargin: 0 topPadding: rectangle1.height * 0.05 // ← espace en haut bottomPadding: rectangle1.height * 0.05 // ← espace en bas - spacing: parent.width*0.04 -- GitLab