Skip to content
Permalink
Browse files

Merge pull request #1242 from p0cisk/roadgraph

Fix displaying line layers in Road Graph settings (fix #9780)
  • Loading branch information
alexbruy committed Mar 17, 2014
2 parents 1a669dc + f755781 commit f337dd35c84264c71f8fccf26dfd053ba3629fb1
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/plugins/roadgraph/linevectorlayerwidget.cpp
@@ -132,10 +132,9 @@ RgLineVectorLayerSettingsWidget::RgLineVectorLayerSettingsWidget( RgLineVectorLa
QgsVectorLayer* vl = dynamic_cast<QgsVectorLayer*>( layer_it.value() );
if ( !vl )
continue;
if ( vl->wkbType() != QGis::WKBLineString
|| vl->wkbType() != QGis::WKBMultiLineString )
continue;
mcbLayers->insertItem( 0, vl->name() );
if ( vl->wkbType() == QGis::WKBLineString
|| vl->wkbType() == QGis::WKBMultiLineString )
mcbLayers->insertItem( 0, vl->name() );
}

//sets current settings

0 comments on commit f337dd3

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