diff --git a/Motus/Main.qml b/Motus/Main.qml index d1b402796f57653ff4e6c8ea3d07c200616f968a..030b30abaea1efc054cefb7bc25b0059a1140d5f 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