Skip to content

Commit

Permalink
remove filter checks show only selected
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Duduf committed Nov 20, 2020
1 parent f07a48e commit 970f46f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion duik/dopesheet_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class DUIK_DopesheetFilter(bpy.types.PropertyGroup):
name: bpy.props.StringProperty(default='New Filter')
filter_string: bpy.props.StringProperty(name='Filter', default='filter')
use_multi_word_filter: bpy.props.BoolProperty( name="Multi word filter", default=False, description="" )
show_only_selected: bpy.props.BoolProperty( name="Multi word filter", default=False, description="" )
show_only_selected: bpy.props.BoolProperty( name="Show only selected", default=False, description="" )

class DUIK_UL_dopesheet_filters( bpy.types.UIList ):
"""The list of dopesheet filters"""
Expand Down Expand Up @@ -88,6 +88,7 @@ def draw(self, context):
op = split.operator( "dopesheet.filter", text = "Remove", icon='X')
op.filter = ""
op.use_multi_word_filter = False
op.show_only_selected = True
row = split.row(align=True)
row.prop(context.space_data.dopesheet, 'show_only_selected', text='')
row.prop(context.space_data.dopesheet, 'use_multi_word_filter', text='', icon="LONGDISPLAY")
Expand Down

0 comments on commit 970f46f

Please sign in to comment.