mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Renamed from setCurrentObjectInTreeView to selectAsCurrentItem
This commit is contained in:
@@ -105,11 +105,6 @@ void RicAddWellLogToPlotFeature::onActionTriggered(bool isChecked)
|
||||
curve->setWellLogChannelName(wellLog->name());
|
||||
|
||||
curve->updatePlotData();
|
||||
|
||||
if (wlIdx == selection.size() - 1)
|
||||
{
|
||||
uiItem = curve;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,10 +114,7 @@ void RicAddWellLogToPlotFeature::onActionTriggered(bool isChecked)
|
||||
|
||||
RiaApplication::instance()->project()->updateConnectedEditors();
|
||||
|
||||
if (uiItem)
|
||||
{
|
||||
RiuMainWindow::instance()->projectTreeView()->selectAsCurrentItem(uiItem);
|
||||
}
|
||||
RiuMainWindow::instance()->projectTreeView()->selectAsCurrentItem(selection.back());
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user