@ -252,4 +252,9 @@ def rebuild_menu():
rebuild_menu()
def handle_exit():
set_configuration_value("window geometry", main_window.geometry())
main_window.destroy()
main_window.protocol("WM_DELETE_WINDOW", handle_exit)
main_window.mainloop()