diff --git a/app_state.py b/app_state.py index fc02231..11c3bdf 100644 --- a/app_state.py +++ b/app_state.py @@ -8,7 +8,7 @@ so later rebinding would only ever be seen by the module that did it. import configparser import os -VERSION = "0.0.0.029" +VERSION = "0.0.0.030" PROPERTIES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "editor.properties") DEFAULT_GRID_SIZE = 10 DEFAULT_ADD_TIMESTAMP = True diff --git a/main.py b/main.py index 4457335..07e8cd1 100644 --- a/main.py +++ b/main.py @@ -1211,8 +1211,6 @@ menu_edit.add_command(label="Undo", command=do_undo, accelerator=f"{accel_mod}+Z menu_edit.add_command(label="Redo", command=do_redo, accelerator=f"{accel_mod}+Y") menu_edit.add_separator() menu_edit.add_command(label="Delete Component", command=delete_selected_component, accelerator="Del") -menu_edit.add_separator() -menu_edit.add_command(label="Tidy Layout", command=do_tidy_layout) menu_bar.add_cascade(label="Edit", menu=menu_edit) menu_view = tk.Menu(menu_bar, tearoff=0) @@ -1230,6 +1228,8 @@ menu_view.add_command( menu_view.add_command( label=MENU_FORWARD_LABEL, command=go_forward, accelerator="Alt+Right", state="disabled" ) +menu_view.add_separator() +menu_view.add_command(label="Tidy Layout", command=do_tidy_layout) menu_bar.add_cascade(label="View", menu=menu_view) menu_kits = tk.Menu(menu_bar, tearoff=0)