Fixed visibility of items in tree view

This commit is contained in:
Magne Sjaastad
2015-08-12 17:46:22 +02:00
parent 8f051e6a72
commit beb291e1ce
4 changed files with 6 additions and 1 deletions

View File

@@ -444,12 +444,15 @@ void RiaApplication::addWellPathsToModel(QList<QString> wellPathFilePaths)
//printf("Create well path collection.\n");
oilField->wellPathCollection = new RimWellPathCollection();
oilField->wellPathCollection->setProject(m_project);
m_project->updateConnectedEditors();
RiuMainWindow::instance()->uiPdmModel()->updateUiSubTree(m_project);
}
if (oilField->wellPathCollection) oilField->wellPathCollection->addWellPaths(wellPathFilePaths);
RiuMainWindow::instance()->uiPdmModel()->updateUiSubTree(oilField->wellPathCollection);
oilField->wellPathCollection->updateConnectedEditors();
}