We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6632b0 commit cce0702Copy full SHA for cce0702
src/core/qgsattributetableconfig.cpp
@@ -65,7 +65,7 @@ void QgsAttributeTableConfig::update( const QgsFields& fields )
65
const ColumnConfig& column = mColumns.at( i );
66
if ( column.type == Field )
67
{
68
- if ( fields.lookupField( column.name ) == -1 )
+ if ( fields.indexOf( column.name ) == -1 )
69
70
mColumns.remove( i );
71
}
0 commit comments