Revert case Ids to start at 0

This commit is contained in:
Gaute Lindkvist 2019-11-21 08:14:24 +01:00
parent 22ca504907
commit dfb5896edf

View File

@ -102,8 +102,8 @@ CAF_PDM_SOURCE_INIT( RimProject, "ResInsightProject" );
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
RimProject::RimProject( void ) RimProject::RimProject( void )
: m_nextValidCaseId( 1 ) : m_nextValidCaseId( 0 )
, m_nextValidCaseGroupId( 1 ) , m_nextValidCaseGroupId( 0 )
, m_nextValidViewId( 1 ) , m_nextValidViewId( 1 )
, m_nextValidPlotId( 1 ) , m_nextValidPlotId( 1 )
{ {
@ -249,8 +249,8 @@ void RimProject::close()
plotWindowCurrentModelIndexPath = ""; plotWindowCurrentModelIndexPath = "";
plotWindowTreeViewState = ""; plotWindowTreeViewState = "";
m_nextValidCaseId = 1; m_nextValidCaseId = 0;
m_nextValidCaseGroupId = 1; m_nextValidCaseGroupId = 0;
m_nextValidViewId = 1; m_nextValidViewId = 1;
m_nextValidPlotId = 1; m_nextValidPlotId = 1;
} }