mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed visibility of items in tree view
This commit is contained in:
parent
8f051e6a72
commit
beb291e1ce
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
@ -48,6 +48,7 @@ RimOilFieldEntry::RimOilFieldEntry()
|
||||
CAF_PDM_InitFieldNoDefault(&wellsFilePath, "wellsFilePath", "wellsFilePath", "", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&wells, "Wells", "", "", "", "");
|
||||
wells.uiCapability()->setUiHidden(true);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -33,9 +33,9 @@ RimOilRegionEntry::RimOilRegionEntry()
|
||||
CAF_PDM_InitFieldNoDefault(&name, "OilRegionEntry", "OilRegionEntry", "", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&fields, "Fields", "", "", "", "");
|
||||
fields.uiCapability()->setUiHidden(true);
|
||||
|
||||
CAF_PDM_InitField(&selected, "Selected", false, "Selected", "", "", "");
|
||||
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -62,6 +62,7 @@ RimWellPathImport::RimWellPathImport()
|
||||
CAF_PDM_InitField(&west, "UtmWest", 0.0, "West", "", "", "");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(®ions, "Regions", "", "", "", "");
|
||||
regions.uiCapability()->setUiHidden(true);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user