diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-20 17:04:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-20 17:06:08 +0300 |
commit | f08910e7b28722c76263c0017e81db4d7773337b (patch) | |
tree | 50dc0b787fe6cbacbabbd76f0a2c91076d77d561 /release | |
parent | 4e0b5a0baf4f1f3b194f5f869abd2292b0350baf (diff) |
UI: relocate rename menu item
This was in between operator adjust/search.
Also remove line accidentally added in last commit.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index e974ebeda5b..0277f6fe129 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -815,13 +815,15 @@ class TOPBAR_MT_edit(Menu): layout.separator() + layout.operator("wm.search_menu", text="Operator Search...", icon='VIEWZOOM') + + layout.separator() + # Mainly to expose shortcut since this depends on the context. props = layout.operator("wm.call_panel", text="Rename Active Item...", icon='OUTLINER_DATA_FONT') props.name = "TOPBAR_PT_name" props.keep_open = False - layout.operator("wm.search_menu", text="Operator Search...", icon='VIEWZOOM') - layout.separator() # Should move elsewhere (impacts outliner & 3D view). @@ -1133,7 +1135,6 @@ class TOPBAR_PT_name(Panel): if item: row = row_with_icon(layout, 'OBJECT_DATA') row.prop(item, "name", text="") - row.prop(item.data, "name", text="") found = True if not found: |