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

@ -56,7 +56,9 @@ class Config:
merge_goal: int = 10 merge_goal: int = 10
manifest_path: Path manifest_path: Path
manifest: dict[str, str] manifest: dict[str, str]
separator_color: str = "rgb(120, 120, 120)" separator_color: str = "rgb(111, 111, 111)"
icon_on: str = ""
icon_off: str = ""
@staticmethod @staticmethod
def prepare() -> None: def prepare() -> None:

View File

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