ça marche

This commit is contained in:
2025-10-08 12:23:36 +02:00
parent 4c7290f0fa
commit 113a5e3db3

View File

@@ -122,7 +122,7 @@ class JeuPendu:
bg=COULEUR_BOUTON,
fg="white",
activebackground=COULEUR_BOUTON_SURVOL,
command=lambda l=lettre.lower(): self.deviner_lettre(l)
command=lambda l=lettre.lower(): self.guess_letter(l)
)
bouton.grid(row=i // 9, column=i % 9, padx=3, pady=3)
self.boutons_lettres[lettre.lower()] = bouton