mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-13 01:26:19 -06:00
(#396) Create main plot collection and well log plot collection if needed
Reading old project files may give projects without main plot collection and well plot collection. Those are now created in the command feature for adding a new well log plot, if needed.
This commit is contained in:
1 parent
4618f50e9e
commit
27f8f34538
6 files changed
+81
-22
No files matched your search
@@ -937,3 +937,14 @@ RimLinkedViews* RimProject::findLinkedViewsGroupForView(RimView* view)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimProject::recreateMainPlotCollection()
|
||||
{
|
||||
if (!mainPlotCollection())
|
||||
{
|
||||
mainPlotCollection = new RimMainPlotCollection();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user