mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Use a special flag to indicate hidden children of a field.
Added new method in PdmUiItem called isUiHideChildren() p4#: 22093
This commit is contained in:
1 parent
50777b3e3f
commit
ffbb0b6a46
4 files changed
+26
-5
No files matched your search
@@ -555,7 +555,7 @@ PdmUiTreeItem* UiTreeItemBuilderPdm::buildViewItems(PdmUiTreeItem* parentTreeIte
|
||||
// Fix for hidden legend definitions. There is only one visible legend definition, the others reside in a hidden container
|
||||
// Todo: This is a Hack. Must be rewritten when a more general ui tree building method is in place.
|
||||
// See comment at top of this method.
|
||||
if (field->isUiHidden())
|
||||
if (field->isUiHideChildren())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user