[fix][ui] calling required tasks when '--settings' is specified as a param

This commit is contained in:
Vinicius Moreira
2020-06-11 17:15:20 -03:00
parent ef70ce0864
commit f0c44ab019
4 changed files with 11 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ def new_manage_panel(app_args: Namespace, app_config: dict, logger: logging.Logg
app = new_qt_application(app_config, quit_on_last_closed=True)
if app_args.settings: # only settings window
manager.prepare(None, None, None) # only checks the available managers
manager.cache_available_managers()
return app, SettingsWindow(manager=manager, i18n=i18n, screen_size=app.primaryScreen().size(), window=None)
else:
manage_window = ManageWindow(i18n=i18n,