Fix: Use disabled status for non-selected node tool modes and types

This commit is contained in:
Hans Goudey 2023-09-26 17:37:59 -04:00
parent b41fc86003
commit 93b285be4b
1 changed files with 2 additions and 0 deletions

View File

@ -451,6 +451,7 @@ class NODE_PT_geometry_node_tool_object_types(Panel):
row_checkbox.prop(group, prop, text="")
row_label = row.row()
row_label.label(text=name, icon=icon)
row_label.active = getattr(group, prop)
class NODE_PT_geometry_node_tool_mode(Panel):
@ -476,6 +477,7 @@ class NODE_PT_geometry_node_tool_mode(Panel):
row_checkbox.prop(group, prop, text="")
row_label = row.row()
row_label.label(text=name, icon=icon)
row_label.active = getattr(group, prop)
class NODE_PT_node_color_presets(PresetPanel, Panel):