mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
Changing the time step filter combo box crashed when the plot had no available time steps: filteredTimeStepIndices returned an empty vector and .back() invoked undefined behaviour. Skip the m_timeStep assignment when either allDateTimes or filteredTimeStepIndices is empty. Fixes #14006.