#2261 Well Paths: Change newestAddedWellPath to mostRecentlyUpdatedWellPath

This commit is contained in:
Rebecca Cox
2018-01-29 11:24:12 +01:00
parent 438ee340e3
commit d67e1a7d13
4 changed files with 10 additions and 13 deletions

View File

@@ -77,7 +77,7 @@ void RicWellPathFormationsImportFileFeature::onActionTriggered(bool isChecked)
if (oilField->wellPathCollection->wellPaths().size() > 0)
{
RimWellPath* wellPath = oilField->wellPathCollection->newestAddedWellPath();
RimWellPath* wellPath = oilField->wellPathCollection->mostRecentlyUpdatedWellPath();
if (wellPath)
{
RiuMainWindow::instance()->selectAsCurrentItem(wellPath);