diff --git a/Motus/Main.qml b/Motus/Main.qml index 921c6356c24efb4ae58ccd890bbc1cc8a2cac324..802113c9e7f6132087add9cc7cdcae201a2d8e7d 100644 --- a/Motus/Main.qml +++ b/Motus/Main.qml @@ -43,7 +43,7 @@ Window { // Gestion des touches du clavier physique Keys.onPressed: function(event) { - if (mot !== "") { + if (mot !== "" && !motusGame.loose && !motusGame.win) { // Saisie d'une lettre (de A à Z) if (/^[a-zA-Z]$/.test(event.text)) { if (indice_case < nb_lettres) { @@ -471,16 +471,6 @@ Window { anchors.horizontalCenter: parent.horizontalCenter spacing: 20 - Rectangle { - id: rectangle_combobox - width: 193 - height: 60 - color: "#323232" - radius: 10 - border.color: "#ffffff" - border.width: 3 - } - MotusTimer { id: motusTimer width: 100