#5033 Ensemble RFT : Auto select first date if no date is matching

This commit is contained in:
Magne Sjaastad 2019-11-13 11:12:51 +01:00
parent 4e524470c7
commit 57f6ee0660

View File

@ -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 );
}
}
//--------------------------------------------------------------------------------------------------