update json after renaming
This commit is contained in:
parent
dcf6f71f38
commit
2c2b11c433
@ -440,7 +440,8 @@ class SettingsTab(ctk.CTkFrame):
|
||||
main_app.app.title("BOIII Workshop Downloader - Settings ➜ Renaming... ⏳")
|
||||
try :self.rename_all_folders(option)
|
||||
except Exception as er: show_message("Error!", f"Error occured when renaming\n{er}"); return
|
||||
show_message("Done", "All folders have been renamed")
|
||||
main_app.app.library_tab.load_items(main_app.app.edit_destination_folder.get(), dont_add=True)
|
||||
show_message("Done!", "All folders have been renamed", icon="info")
|
||||
else:
|
||||
show_message("Heads up!", "Only newly downloaded items will be affected", icon="info")
|
||||
else:
|
||||
@ -450,6 +451,7 @@ class SettingsTab(ctk.CTkFrame):
|
||||
except Exception as e:
|
||||
show_message("Error", f"Error occured \n{e}")
|
||||
finally:
|
||||
main_app.app.library_tab.load_items(main_app.app.edit_destination_folder.get(), dont_add=True)
|
||||
main_app.app.title("BOIII Workshop Downloader - Settings")
|
||||
self.save_settings()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user