[Bf-blender-cvs] [416a486c00f] blender-projects-basics: Swap order of Show Preferences and Show Project Settings menu entires
Julian Eisel
noreply at git.blender.org
Wed Oct 12 16:31:31 CEST 2022
Commit: 416a486c00f2d7c41d38ba9fae1659598d3a0a6c
Author: Julian Eisel
Date: Wed Oct 12 15:57:26 2022 +0200
Branches: blender-projects-basics
https://developer.blender.org/rB416a486c00f2d7c41d38ba9fae1659598d3a0a6c
Swap order of Show Preferences and Show Project Settings menu entires
Looks a bit less nice, but doesn't mess with muscle memory as much,
since the Preferences used to be last in the menu. I for one kept
opening the wrong window :)
===================================================================
M release/scripts/startup/bl_ui/space_topbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index 8af91030cd0..43a37e22f14 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -627,9 +627,9 @@ class TOPBAR_MT_edit(Menu):
layout.separator()
+ layout.operator("screen.project_settings_show", text="Project Settings...")
layout.operator("screen.userpref_show",
text="Preferences...", icon='PREFERENCES')
- layout.operator("screen.project_settings_show", text="Project Settings...")
class TOPBAR_MT_window(Menu):
@@ -753,9 +753,9 @@ class TOPBAR_MT_file_context_menu(Menu):
layout.separator()
+ layout.operator("screen.project_settings_show", text="Project Settings...")
layout.operator("screen.userpref_show",
text="Preferences...", icon='PREFERENCES')
- layout.operator("screen.project_settings_show", text="Project Settings...")
class TOPBAR_MT_workspace_menu(Menu):
More information about the Bf-blender-cvs
mailing list