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:
@@ -284,7 +284,8 @@ void PdmUiTreeView::updateSubTree( const QModelIndex& index )
|
||||
auto uiItem = uiItemFromModelIndex( index );
|
||||
if ( uiItem )
|
||||
{
|
||||
m_treeViewEditor->updateSubTree( uiItem );
|
||||
bool notifyEditors = true;
|
||||
m_treeViewEditor->updateSubTree( uiItem, notifyEditors );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user