Skip to content

Commit

Permalink
fix Road graph plugin: enable geometry type filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Yakushev committed Nov 21, 2011
1 parent c828683 commit 716dc01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/roadgraph/linevectorlayerwidget.cpp
Expand Up @@ -132,8 +132,8 @@ RgLineVectorLayerSettingsWidget::RgLineVectorLayerSettingsWidget( RgLineVectorLa
QgsVectorLayer* vl = dynamic_cast<QgsVectorLayer*>( layer_it.value() );
if ( !vl )
continue;
// if ( vl->geometryType() != QGis::Line )
// continue;
if ( vl->geometryType() != QGis::Line )
continue;
mcbLayers->insertItem( 0, vl->name() );
}

Expand Down

0 comments on commit 716dc01

Please sign in to comment.