UI: Clip: Fix checkbox wrongly greying out entire column

The Pattern and Search display options in the Clip Editor display settings
are independent and should not be grayed out since those options
remain relevant even with path display turned off.

Alternative solution were propoesed in D11630 and D11715
but each of those patches had downsides.
This solution is the simplest and does not break muscle memory.
This commit is contained in:
Aaron Carlisle 2021-07-09 19:23:08 -04:00
parent d5e91ae883
commit 62d9dabc7d

@ -72,8 +72,9 @@ class CLIP_PT_marker_display(Panel):
col.prop(view, "show_marker_pattern", text="Pattern")
col.prop(view, "show_marker_search", text="Search")
col.active = view.show_track_path
col.prop(view, "show_track_path", text="Path")
col = col.column()
col.active = view.show_track_path
col.prop(view, "path_length", text="Length")
col = row.column()