diff --git a/Motus/Main.qml b/Motus/Main.qml
index 9102161c1e249d1ecab81f609d52def9147ecd69..8076c2b6a5bf70913dcb25ffdb03e65ec75463fc 100644
--- a/Motus/Main.qml
+++ b/Motus/Main.qml
@@ -84,6 +84,11 @@ Window {
                                         }
                                     }
                                 }
+                            if (mot==mot_entre){
+                                motusGame.setWinbool(true);
+                            }
+
+
                             }
 
                             if (mot_entre.toUpperCase() === mot.toUpperCase()) {
@@ -132,9 +137,7 @@ Window {
 
         Row {
             id: main_row
-
             anchors.fill: parent
-
             spacing: 150
 
             Rectangle {