Skip to content
Permalink
Browse files

Merge pull request #814 from slarosa/fix_8469

[topology-checker] skips raster layers: fixes #8469
  • Loading branch information
mach0 committed Aug 15, 2013
2 parents 74367c5 + 9d19752 commit 204634240960d3c325166e652870ba7ed95fb348
Showing with 10 additions and 4 deletions.
  1. +10 −4 src/plugins/topology/rulesDialog.cpp
@@ -186,9 +186,13 @@ void rulesDialog::showControls( const QString& testName )
continue;
}

if ( topologyRule.layer2AcceptsType( v1->geometryType() ) )

if ( v1->type() == QgsMapLayer::VectorLayer )
{
mLayer2Box->addItem( v1->name() , v1->id() );
if ( topologyRule.layer2AcceptsType( v1->geometryType() ) )
{
mLayer2Box->addItem( v1->name() , v1->id() );
}
}
}
}
@@ -351,8 +355,10 @@ void rulesDialog::initGui()
qDebug() << "layerid = " + layerList[i];

// add layer name to the layer combo boxes

mLayer1Box->addItem( v1->name(), v1->id() );
if ( v1->type() == QgsMapLayer::VectorLayer )
{
mLayer1Box->addItem( v1->name(), v1->id() );
}
}
mLayer1Box->blockSignals( false );

0 comments on commit 2046342

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