Adding button to disconnect itself in cashier GUI
This commit is contained in:
parent
71ba3285c4
commit
37f4b91238
1 changed files with 1 additions and 0 deletions
1
main.py
1
main.py
|
@ -583,6 +583,7 @@ class GesMag:
|
||||||
if caissier["metier"] == 0:
|
if caissier["metier"] == 0:
|
||||||
Button(self.f, text="Passer en mode Manager", font=self.font, command=lambda: self._interfaceManager(id)).grid(column=0, row=2, sticky='w', padx=ecart)
|
Button(self.f, text="Passer en mode Manager", font=self.font, command=lambda: self._interfaceManager(id)).grid(column=0, row=2, sticky='w', padx=ecart)
|
||||||
|
|
||||||
|
Button(self.f, text="Se déconnecter", font=self.font, command=self._interfaceConnexion).grid(column=0, row=2)
|
||||||
|
|
||||||
def _interfaceManager(self, id: int):
|
def _interfaceManager(self, id: int):
|
||||||
"""Affiche l'interface du manager."""
|
"""Affiche l'interface du manager."""
|
||||||
|
|
Reference in a new issue