diff --git a/Motus/Main.qml b/Motus/Main.qml index 1c119a452e66a20368564268e8af9c32f4d7c784..000a85bc047c8f514ffb663f81a0d0e50b0d2833 100644 --- a/Motus/Main.qml +++ b/Motus/Main.qml @@ -502,7 +502,7 @@ Window { Text { y: 32 text: "Temps écoulé ! Mot : "+mot - visible: motusGame.loosetime + visible: motusGame && motusGame.loosetime color: "red" font.pixelSize: 30 anchors.horizontalCenter: parent.horizontalCenter @@ -511,7 +511,7 @@ Window { Text { y: 32 text: "Nombre d'essais maximum atteint ! Mot : "+mot - visible: motusGame.loosetry + visible: motusGame && motusGame.loosetry color: "red" font.pixelSize: 30 anchors.horizontalCenter: parent.horizontalCenter @@ -520,7 +520,7 @@ Window { Text { y: 32 text: "Gagné !" - visible: motusGame.win + visible: motusGame && motusGame.win color: "green" font.pixelSize: 30 anchors.horizontalCenter: parent.horizontalCenter