mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Various operations on color legends
This commit is contained in:
committed by
Magne Sjaastad
parent
fd475589a5
commit
d39bcb31ab
@@ -133,6 +133,7 @@ RimProject::RimProject( void )
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &colorLegendCollection, "ColorLegendCollection", "Color Legend Collection", "", "", "" );
|
||||
colorLegendCollection = new RimColorLegendCollection();
|
||||
colorLegendCollection->createStandardColorLegends();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &scriptCollection, "ScriptCollection", "Octave Scripts", ":/octave.png", "", "" );
|
||||
scriptCollection.uiCapability()->setUiHidden( true );
|
||||
@@ -256,6 +257,7 @@ void RimProject::close()
|
||||
m_dialogData->clearProjectSpecificData();
|
||||
|
||||
calculationCollection->deleteAllContainedObjects();
|
||||
colorLegendCollection->deleteCustomColorLegends();
|
||||
|
||||
delete viewLinkerCollection->viewLinker();
|
||||
viewLinkerCollection->viewLinker = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user