Skip to content

Commit

Permalink
Merge pull request #1242 from p0cisk/roadgraph
Browse files Browse the repository at this point in the history
Fix displaying line layers in Road Graph settings (fix #9780)
  • Loading branch information
alexbruy committed Mar 17, 2014
2 parents 1a669dc + f755781 commit f337dd3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/plugins/roadgraph/linevectorlayerwidget.cpp
Expand Up @@ -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
Expand Down

0 comments on commit f337dd3

Please sign in to comment.