Renamed from setCurrentObjectInTreeView to selectAsCurrentItem

This commit is contained in:
Magne Sjaastad
2015-12-07 10:07:51 +01:00
parent a2bfc12c57
commit dc6a50ec3c
18 changed files with 31 additions and 44 deletions

View File

@@ -118,7 +118,7 @@ void RimCrossSectionCollection::appendCrossSection(RimCrossSection* crossSection
m_crossSections.push_back(crossSection);
updateConnectedEditors();
RiuMainWindow::instance()->setCurrentObjectInTreeView(crossSection);
RiuMainWindow::instance()->selectAsCurrentItem(crossSection);
RimView* rimView = NULL;
firstAnchestorOrThisOfType(rimView);

View File

@@ -875,6 +875,6 @@ bool RimView::showActiveCellsOnly()
//--------------------------------------------------------------------------------------------------
void RimView::selectOverlayInfoConfig()
{
RiuMainWindow::instance()->setCurrentObjectInTreeView(m_overlayInfoConfig);
RiuMainWindow::instance()->selectAsCurrentItem(m_overlayInfoConfig);
}