From 91bdf3751251218ed2e920dfb0067ebee42015dd Mon Sep 17 00:00:00 2001 From: lm Date: Sun, 19 Oct 2025 19:25:12 +0200 Subject: [PATCH] Propagate configuration into PySide6 launcher --- app/qt/app.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/qt/app.py b/app/qt/app.py index b8cdb95..df14acf 100644 --- a/app/qt/app.py +++ b/app/qt/app.py @@ -7,6 +7,7 @@ from pathlib import Path from PySide6 import QtGui, QtWidgets +from app.logic import DEFAULTS, LANGUAGE, RESET_EXCLUSIONS_ON_IMAGE_CHANGE from .main_window import MainWindow @@ -45,6 +46,10 @@ def create_application() -> QtWidgets.QApplication: def run() -> int: """Run the PySide6 GUI.""" app = create_application() - window = MainWindow() + window = MainWindow( + language=LANGUAGE, + defaults=DEFAULTS.copy(), + reset_exclusions=RESET_EXCLUSIONS_ON_IMAGE_CHANGE, + ) window.show() return app.exec()