mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-20 11:48:35 -06:00
Do nothing if no source tree can be created
This commit is contained in:
parent
b2f80c7ef9
commit
86b74e383e
@ -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