UI: Gray out the Attribute Text option when Text Info is disabled

This avoid confusion.
Rel #145027
This commit is contained in:
Clément Foucault
2025-08-25 18:04:22 +02:00
parent 8078dcddf9
commit c5cd01ba96

View File

@@ -7138,7 +7138,7 @@ class VIEW3D_PT_overlay_viewer_node(Panel):
subrow.prop(overlay, "viewer_attribute_opacity", text="Color Opacity")
row = col.row(align=True)
row.active = view.show_viewer
row.active = view.show_viewer and overlay.show_text
row.prop(overlay, "show_viewer_text", text="Attribute Text")