mirror of
https://github.com/netinvent/npbackup.git
synced 2025-12-16 05:02:07 +08:00
GUI: Make sure we update repo type on repo change
This commit is contained in:
parent
f672989425
commit
feef1660c4
1 changed files with 1 additions and 0 deletions
|
|
@ -1081,6 +1081,7 @@ def _main_gui(viewer_mode: bool):
|
|||
_,
|
||||
) = npbackup.configuration.get_repo_config(full_config, active_repo)
|
||||
current_state, backup_tz, snapshot_list = get_gui_data(repo_config)
|
||||
repo_type, _ = get_anon_repo_uri(repo_config.g("repo_uri"))
|
||||
gui_update_state()
|
||||
else:
|
||||
sg.PopupError("Repo not existent in config", keep_on_top=True)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue