Reset basket when starting the window
This commit is contained in:
parent
07c2d7e3ff
commit
0a9b0c4c02
1 changed files with 2 additions and 0 deletions
2
main.py
2
main.py
|
@ -203,6 +203,8 @@ class GesMag:
|
|||
self.parent.title(f"Caissier {caissier['nom']} {caissier['prenom']} – {self.nomApp}")
|
||||
self.dimensionsFenetre(self.parent, 1160, 710)
|
||||
|
||||
self.panier = [] # remet le panier à 0
|
||||
|
||||
# Suppresssion de la dernière Frame
|
||||
self.f.destroy()
|
||||
# Instanciation d'une nouvelle Frame, on va donc ajouter tout nos widgets à cet Frame
|
||||
|
|
Reference in a new issue