mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5033 Ensemble RFT : Auto select first date if no date is matching
This commit is contained in:
parent
4e524470c7
commit
57f6ee0660
@ -324,6 +324,12 @@ void RimWellRftPlot::updateEditorsFromPreviousSelection()
|
||||
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 );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user