Skip to content

Commit

Permalink
Fix crash in topology checker (fix #14017)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 21, 2015
1 parent 013d6d3 commit 7afa9e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/topology/rulesDialog.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit 7afa9e3

Please sign in to comment.