Set good menu names

This commit is contained in:
Yohann D'ANELLO 2020-11-10 20:22:53 +01:00
parent 1a1b906c8e
commit 1ff2e26cd4

View File

@ -23,6 +23,9 @@ class MainMenuValues(Enum):
SETTINGS = 'Paramètres'
EXIT = 'Quitter'
def __str__(self):
return self.value
class MainMenu(Menu):
values = [e for e in MainMenuValues]