From 0fe719782cfdee074ae0e27c77dd7415e91385ff Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Tue, 15 Feb 2022 01:55:41 +0100 Subject: [PATCH] removed failure popup because it can trap the user without the ability to close the IDE --- main.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/main.py b/main.py index 6724c28..f1d8600 100644 --- a/main.py +++ b/main.py @@ -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: