diff --git a/Motus/Main.qml b/Motus/Main.qml index 830bfd255b096718b635899eb526963d7f3b0a64..78da2f9ba7af1a510d3b6a71d848d9192c643eb8 100644 --- a/Motus/Main.qml +++ b/Motus/Main.qml @@ -637,11 +637,12 @@ Window { anchors.bottom: parent.bottom anchors.horizontalCenter: parent.horizontalCenter cursorShape: Qt.PointingHandCursor - enabled: motusGame && (motusGame.win || motusGame.loosetry || motusGame.looseabandon || motusGame.loosetime || !motusGame.debut) + enabled: motusGame && (!motusGame.win && !motusGame.loosetry && !motusGame.looseabandon && !motusGame.loosetime && motusGame.debut) onClicked: { updateGameStats(); statsOverlayVisible = true; selectedLetterForStats = nb_lettres; + motusGame.looseabandon=true; } } }