mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Do nothing if no source tree can be created
This commit is contained in:
parent
c310b702e1
commit
a89dc563b7
@ -392,6 +392,7 @@ void UiTreeModelPdm::updateUiSubTree(PdmObject* pdmRoot)
|
||||
// Build the new "Correct" Tree
|
||||
|
||||
PdmUiTreeItem* tempUpdatedPdmTree = UiTreeItemBuilderPdm::buildViewItems(NULL, -1, pdmRoot);
|
||||
if (!tempUpdatedPdmTree) return;
|
||||
|
||||
// Find the corresponding entry for "root" in the existing Ui tree
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user