mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#9023 Performance : Optionally avoid emitting update signals during update
Do not notify editors when building tree in PdmUiTreeViewQModel::setPdmItemRoot()
This commit is contained in:
@@ -292,7 +292,8 @@ bool PdmUiTreeViewItemDelegate::editorEvent( QEvent* event,
|
||||
}
|
||||
}
|
||||
|
||||
m_treeView->updateSubTree( parentUiItem );
|
||||
bool notifyEditors = true;
|
||||
m_treeView->updateSubTree( parentUiItem, notifyEditors );
|
||||
m_treeView->selectAsCurrentItem( uiItem );
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user