Set good menu names
This commit is contained in:
parent
1a1b906c8e
commit
1ff2e26cd4
|
@ -23,6 +23,9 @@ class MainMenuValues(Enum):
|
||||||
SETTINGS = 'Paramètres'
|
SETTINGS = 'Paramètres'
|
||||||
EXIT = 'Quitter'
|
EXIT = 'Quitter'
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return self.value
|
||||||
|
|
||||||
|
|
||||||
class MainMenu(Menu):
|
class MainMenu(Menu):
|
||||||
values = [e for e in MainMenuValues]
|
values = [e for e in MainMenuValues]
|
||||||
|
|
Loading…
Reference in New Issue