Skip to content
Permalink
Browse files

Fix crash in topology checker (fix #14017)

  • Loading branch information
nyalldawson committed Dec 21, 2015
1 parent 013d6d3 commit 7afa9e31619d6f898c00a4755dd6682c13ebf507
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/topology/rulesDialog.cpp
@@ -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() );

0 comments on commit 7afa9e3

Please sign in to comment.
You can’t perform that action at this time.