GUI: Make config filename visible in main window

This commit is contained in:
Orsiris de Jong 2024-05-15 13:23:36 +02:00
parent aa0f77f401
commit fd3258337b

View file

@ -586,7 +586,6 @@ def _main_gui(viewer_mode: bool):
config_exists = True config_exists = True
break break
return full_config, config_file return full_config, config_file
# TODO WIP return None, None
def get_config( def get_config(
config_file: str = None, window: sg.Window = None, repo_name: str = "default" config_file: str = None, window: sg.Window = None, repo_name: str = "default"
@ -841,9 +840,8 @@ def _main_gui(viewer_mode: bool):
] ]
check_for_auto_upgrade(full_config) check_for_auto_upgrade(full_config)
window = sg.Window( window = sg.Window(
SHORT_PRODUCT_NAME, f"{SHORT_PRODUCT_NAME} - {config_file}",
layout, layout,
default_element_size=(12, 1), default_element_size=(12, 1),
text_justification="r", text_justification="r",