Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix Road graph plugin: enable geometry type filter
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/plugins/roadgraph/linevectorlayerwidget.cpp
|
@@ -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() ); |
|
|
} |
|
|
|
|
|