mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8359 Plot Project Tree : Always show multi plot collection
If no multi plots was present, the top level collection was not visible. This caused the project tree to collapse when a new plot was created.
This commit is contained in:
@@ -1474,8 +1474,7 @@ void RimProject::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, Q
|
||||
itemCollection->add( mainPlotCollection->saturationPressurePlotCollection() );
|
||||
}
|
||||
|
||||
if ( mainPlotCollection->multiPlotCollection() &&
|
||||
!mainPlotCollection->multiPlotCollection()->multiPlots().empty() )
|
||||
if ( mainPlotCollection->multiPlotCollection() )
|
||||
{
|
||||
itemCollection->add( mainPlotCollection->multiPlotCollection() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user