diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-24 12:11:34 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-24 12:35:25 +0300 |
commit | 67f23cff53922561604920650a2025ba6771f2c1 (patch) | |
tree | 9303316d6e0f689492e8fd99de6da05104c24c15 /release/scripts | |
parent | 1ba91ae2c02863b3fd97810e7bcee902dac58992 (diff) |
Topbar: clarify command settings name, remove placeholder button.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index d4d48735a67..87a4a91b257 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -128,11 +128,7 @@ class TOPBAR_HT_lower_bar(Header): def draw_right(self, context): layout = self.layout - # Placeholder - layout.operator("ed.undo_history", text="...") - - # Last Action (redo) - layout.label("Last Action:") + # Command Settings (redo) op = context.active_operator row = layout.row() row.enabled = op is not None @@ -140,7 +136,7 @@ class TOPBAR_HT_lower_bar(Header): space_type='VIEW_3D', region_type='TOOL_PROPS', panel_type="VIEW3D_PT_last_operator", - text=op.name if op else "Last Action...", + text=op.name + " Settings" if op else "Command Settings", ) |