Skip to content

Commit b1d639b

Browse files
committed
fix(gui): ajouter un fallback explicite si le thème arctic est indisponible
1 parent 6cf3d49 commit b1d639b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

OnlyMod/EngineOnlyMod/gui.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,8 +662,9 @@ def _apply_theme(self, theme_name: str):
662662
css = qss_path.read_text(encoding="utf-8")
663663
self.setStyleSheet(css)
664664
except Exception:
665-
# Minimal fallback only if theme file cannot be read.
665+
# Keep the window usable even if theme loading fails.
666666
self.setStyleSheet("")
667+
self.statusBar().showMessage("Arctic theme unavailable: fallback active")
667668

668669
def _apply_language(self, lang_code: str):
669670
"""Applique la langue de l'interface."""

0 commit comments

Comments
 (0)