Tidy Layout moves from the Edit menu to View
It re-flows what is on screen rather than editing the document, which is where the rest of the sheet's presentation controls now live. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user