diff --git a/main.py b/main.py index 32496d4..00509f2 100644 --- a/main.py +++ b/main.py @@ -103,7 +103,7 @@ class Window_Interaction_Handler: warn("__window_interactions not empty upon destruction of Window_Interaction_Handler:\n"+str(self.__window_interactions)) ################################################################################ -# PROGRAM START +# PROGRAM STARTUP ################################################################################ # read configuration @@ -139,7 +139,8 @@ else: warn("Failed to save initial config file.", is_exception=True) dialog = tk.Tk() dialog.title("Failed to save initial config file") - ttk.Label(dialog, text="Failed to save the initial config file. The IDE can still start up, but it is likely that all changes to the configuration will be lost where they would be saved otherwise.").pack() + ttk.Label(dialog, text="Failed to save the initial config file.\n" + + "The IDE can still start up, but it is likely that all changes to the configuration will be lost where they would be saved otherwise.").pack() ttk.Button(dialog, text="Continue", command=dialog.destroy).pack() dialog.resizable(0,0) dialog.mainloop() @@ -148,6 +149,10 @@ else: # exit with success exit code anyway because this is not a program failure sys.exit(EXIT_SUCCESS) +################################################################################ +# PROGRAM MAIN WINDOW +################################################################################ + main_window = tk.Tk() main_window.geometry(get_configuration_value("window geometry")) main_window.mainloop()