mirror of
https://github.com/netinvent/npbackup.git
synced 2025-12-17 21:50:05 +08:00
GUI: Make config filename visible in main window
This commit is contained in:
parent
aa0f77f401
commit
fd3258337b
1 changed files with 1 additions and 3 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue