mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
#13994 QuickAccess: Avoid re-entrant updateConnectedEditors when creating/removing groups
This commit is contained in:
1 parent
2fa7520b3a
commit
eee33cdc8d
1 file changed
+3
-2
@@ -212,7 +212,8 @@ void RimQuickAccessCollection::deleteMarkedObjects()
|
||||
|
||||
for ( auto group : toBeDeleted )
|
||||
{
|
||||
deleteItem( group );
|
||||
m_items.removeChild( group );
|
||||
delete group;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -243,7 +244,7 @@ RimFieldQuickAccessGroup* RimQuickAccessCollection::findOrCreateGroup( caf::PdmO
|
||||
auto group = new RimFieldQuickAccessGroup();
|
||||
group->setName( groupName );
|
||||
group->setOwnerView( parentView );
|
||||
addItem( group );
|
||||
m_items.push_back( group );
|
||||
|
||||
return group;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user