(#378) Refactored Expansion in MainWindow,

Removed some use of the obsolete tree view model
This commit is contained in:
Jacob Støren
2015-08-14 18:06:22 +02:00
parent e805c893c6
commit 6ca74621ef
6 changed files with 16 additions and 14 deletions

View File

@@ -178,6 +178,7 @@ void RimScriptCollection::fieldChangedByUi(const caf::PdmFieldHandle *changedFie
QFileInfo fi(directory);
this->setUiName(fi.baseName());
this->readContentFromDisc();
RimUiTreeModelPdm* treeModel = RiuMainWindow::instance()->uiPdmModel_OBSOLETE();
if (treeModel) treeModel->updateUiSubTree(this);
}