Merge pull request #8888 from OPM/8887-fix-reorder-capability

Fix reorder capability
This commit is contained in:
Magne Sjaastad
2022-05-06 10:52:08 +02:00
committed by GitHub
parent 64c4adf5f0
commit 74075cc9ab
23 changed files with 92 additions and 69 deletions

View File

@@ -513,7 +513,7 @@ void RimSurfaceCollection::deleteSubCollection( const QString& name )
auto coll = getSubCollection( name );
if ( coll )
{
auto index = m_subCollections.index( coll );
auto index = m_subCollections.indexOf( coll );
m_subCollections.erase( index );
}
}