Ensemble: Disable auto name for old projects

Set auto name to false to be able to use the stored name in project files.
This commit is contained in:
Magne Sjaastad 2022-12-21 11:23:11 +01:00
parent f92da6a98d
commit f27f47fad5

View File

@ -1065,6 +1065,8 @@ void RimSummaryCaseCollection::initAfterRead()
{
summaryCase->nameChanged.connect( this, &RimSummaryCaseCollection::onCaseNameChanged );
}
if ( RimProject::current()->isProjectFileVersionEqualOrOlderThan( "2022.06.2" ) ) m_autoName = false;
}
//--------------------------------------------------------------------------------------------------