Skip to content
Permalink
Browse files

[topology-checker] skips raster layers: fixes #8469

  • Loading branch information
slarosa committed Aug 15, 2013
1 parent 74367c5 commit 9d1975213aa9e9da04541210a5647abeb5954ef1
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 9d19752

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