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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user