Skip to content

Commit

Permalink
fix fenêtre vide si FoC non choisi (oubli else)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilade-s committed Apr 21, 2021
1 parent 97a487b commit bdd32db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions feu_de_foret.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,8 @@ def OnClick(i, j):
row=i, column=j, ipadx=600/Sim.nc, ipady=600/Sim.nl)
msgbox.showinfo("Fire on click : information",
"Pour choisir les cases à mettre en feu, vous devrez cliquer sur chaque case souhaitée, et confirmer quand vous aurez fini (pas avant !)")
else: # FoC non demandé par l'utilisateur
self.Affichage(Sim) # Affichage simulation normale

def Affichage(self, Sim):
# efface tous les widgets de la fenêtre
Expand Down

0 comments on commit bdd32db

Please sign in to comment.