Skip to content
Snippets Groups Projects
Commit cbeb5d1d authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

Single PropertyItem now can be also shown in ComponentTreeView

parent 1b2fdf45
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,9 @@ QList<const SessionItem*> ComponentUtils::componentItems(const SessionItem& item ...@@ -33,6 +33,9 @@ QList<const SessionItem*> ComponentUtils::componentItems(const SessionItem& item
QList<const SessionItem*> result; QList<const SessionItem*> result;
if (item.modelType() == Constants::PropertyType)
result.push_back(&item);
for (auto child : item.children()) { for (auto child : item.children()) {
if (!child->isVisible()) if (!child->isVisible())
continue; continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment