mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-07 11:57:10 +08:00
GUI: reload after config changes
This commit is contained in:
parent
cec7be1d7c
commit
d9b0273e05
1 changed files with 2 additions and 1 deletions
|
|
@ -938,7 +938,8 @@ def _main_gui(viewer_mode: bool):
|
|||
continue
|
||||
full_config = config_gui(full_config, config_file)
|
||||
# Make sure we trigger a GUI refresh when configuration is changed
|
||||
event = "--STATE-BUTTON--"
|
||||
# Also make sure we retrigger get_config
|
||||
event = "--LOAD-CONF--"
|
||||
if event == "--OPEN-REPO--":
|
||||
viewer_repo_uri, viewer_repo_password = viewer_repo_gui(
|
||||
viewer_repo_uri, viewer_repo_password
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue