Der AppSettings-Dialog wird beim Start automatisch geöffnet, um fehlende Einstellungen eintragen zu können

* Es wurden weitere Dialoge für einzelne Tabellen erstellt.
This commit is contained in:
2025-06-12 20:43:31 +02:00
parent fc55436d7e
commit cb203112d6
3 changed files with 608 additions and 10 deletions
+7
View File
@@ -3,6 +3,8 @@ import sys
from PySide6.QtWidgets import QApplication
from ui.MainWindow import MainWindow
from ui.AppSettings import AppSettingsDlg
from conf import app_settings
#import qdarktheme
@@ -20,6 +22,11 @@ def main():
# Hauptfenster anzeigen
window.show()
if len(app_settings.apache_fops) == 0 or len(app_settings.diff_pdfs) == 0 or len(app_settings.java_vms) == 0 or len(app_settings.saxon_jars):
# Als Modal Dialog öffnen!
dlg = AppSettingsDlg(window, app_settings)
dlg.exec()
# Anwendung ausführen und Rückgabewert zurückgeben
return app.exec()