This commit is contained in:
Auric Vente
2024-07-22 21:18:34 -06:00
parent 7d62509aac
commit 0721e95a90
2 changed files with 5 additions and 3 deletions

View File

@@ -452,10 +452,10 @@ class Game:
def make(text: str, enabled: bool) -> QAction:
if enabled:
icon = ""
icon = Config.icon_on
word = "On"
else:
icon = ""
icon = Config.icon_off
word = "Off"
return QAction(f"{icon} {text} {word}")