Make sure the view linker is expanded after a link operation

This commit is contained in:
Magne Sjaastad 2015-10-16 09:20:22 +02:00
parent 91b100b8cc
commit a7b3950c6b

View File

@ -171,7 +171,7 @@ void RicLinkVisibleViewsFeature::linkViews(std::vector<RimView*>& views)
proj->viewLinkerCollection.uiCapability()->updateConnectedEditors();
proj->updateConnectedEditors();
RiuMainWindow::instance()->projectTreeView()->setExpanded(viewLinker, true);
RiuMainWindow::instance()->projectTreeView()->setExpanded(proj->viewLinkerCollection(), true);
}