mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#5033 Ensemble RFT : Auto select first date if no date is matching
This commit is contained in:
@@ -324,6 +324,12 @@ void RimWellRftPlot::updateEditorsFromPreviousSelection()
|
|||||||
m_selectedTimeSteps.v().push_back( timeStep );
|
m_selectedTimeSteps.v().push_back( timeStep );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( m_selectedTimeSteps.v().empty() && !timeStepOptions.empty() )
|
||||||
|
{
|
||||||
|
QDateTime timeStep = timeStepOptions.first().value().toDateTime();
|
||||||
|
m_selectedTimeSteps.v().push_back( timeStep );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user