mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix crash in topology checker (fix #14017)
This commit is contained in:
parent
013d6d3331
commit
7afa9e3161
@ -327,9 +327,9 @@ void rulesDialog::updateRuleItems( const QString &layerName )
|
||||
return;
|
||||
}
|
||||
|
||||
for ( QMap<QString, TopologyRule>::const_iterator it = mTestConfMap.constBegin(); it != mTestConfMap.constEnd(); ++it )
|
||||
for ( QMap<QString, TopologyRule>::iterator it = mTestConfMap.begin(); it != mTestConfMap.end(); ++it )
|
||||
{
|
||||
TopologyRule rule = it.value();
|
||||
TopologyRule& rule = it.value();
|
||||
if ( rule.layer1AcceptsType( vlayer->geometryType() ) )
|
||||
{
|
||||
mRuleBox->addItem( it.key() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user