diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-28 05:34:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-28 05:34:51 +0300 |
commit | e9fb2feb2eaef92384b4bf7064fe2c61b1d3dad9 (patch) | |
tree | 1b41a7ae2d7c197276e78471a5206946a3d50ea8 /release/scripts/startup/bl_ui/space_dopesheet.py | |
parent | 60b24f2415233d6dd6feb0c463de59570d7835ff (diff) |
UI: text keyword argument to label
Prepare for keyword only args
Diffstat (limited to 'release/scripts/startup/bl_ui/space_dopesheet.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_dopesheet.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index efd5e195fb8..f16a906f4cf 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -87,7 +87,7 @@ class DopesheetFilterPopoverBase: is_nla = context.area.type == 'NLA_EDITOR' col = layout.column(align=True) - col.label("With Name:") + col.label(text="With Name:") if not is_nla: row = col.row(align=True) row.prop(dopesheet, "filter_fcurve_name", text="") @@ -97,7 +97,7 @@ class DopesheetFilterPopoverBase: if (not generic_filters_only) and (bpy.data.collections): col = layout.column(align=True) - col.label("In Collection:") + col.label(text="In Collection:") col.prop(dopesheet, "filter_collection", text="") # Standard = Present in all panels @@ -106,7 +106,7 @@ class DopesheetFilterPopoverBase: dopesheet = context.space_data.dopesheet # Object Data Filters - layout.label("Include Sub-Object Data:") + layout.label(text="Include Sub-Object Data:") split = layout.split() # TODO: Add per-channel/axis convenience toggles? @@ -119,7 +119,7 @@ class DopesheetFilterPopoverBase: layout.separator() # datablock filters - layout.label("Include From Types:") + layout.label(text="Include From Types:") flow = layout.grid_flow(row_major=True, columns=2, even_rows=False, align=False) flow.prop(dopesheet, "show_scenes", text="Scenes") @@ -159,7 +159,7 @@ class DopesheetFilterPopoverBase: # performance-related options (users will mostly have these enabled) col = layout.column(align=True) - col.label("Options:") + col.label(text="Options:") col.prop(dopesheet, "use_datablock_sort", icon='NONE') |