Skip to content

[Tree widget]: Return correct visibility when child elements category differs from parent elements category #1563

@JonasDov

Description

@JonasDov

When checking elements visibility, it's children visibility is also checked (#1558). However, child elements visibility is not determined correctly when child element has different category from parent.
E.g. With the following hierarchy:

  • element (category1)
    • child element (category2)

category1 is visible, category2 is hidden, always/never drawn sets are empty.

When checking element visibility, its status will be visible, even though child element is not visible.

Metadata

Metadata

Assignees

Labels

tree widgetTree widget or its components related issues

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions