removed failure popup because it can trap the user without the ability to close the IDE

master
BodgeMaster 2022-02-15 01:55:41 +01:00
parent 664c01c49b
commit 0fe719782c
1 changed files with 1 additions and 7 deletions

View File

@ -63,13 +63,7 @@ def set_configuration_value(key, value, save_to_disk=True):
config_file.write(json.dumps(configuration))
config_file.close()
except:
warn("Failed to save config file.", is_exception=True)
dialog = tk.Tk()
dialog.title("Failed to save config file")
ttk.Label(dialog, text="Failed to save the configuration file.").pack()
ttk.Button(dialog, text="Continue", command=dialog.destroy).pack()
dialog.resizable(0,0)
dialog.mainloop()
error("Failed to save config file.")
# easy way to get data out of window events
class Window_Interaction_Handler: