mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #8888 from OPM/8887-fix-reorder-capability
Fix reorder capability
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user