Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-24 12:11:34 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-04-24 12:35:25 +0300
commit67f23cff53922561604920650a2025ba6771f2c1 (patch)
tree9303316d6e0f689492e8fd99de6da05104c24c15 /release/scripts
parent1ba91ae2c02863b3fd97810e7bcee902dac58992 (diff)
Topbar: clarify command settings name, remove placeholder button.
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py8
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",
)