Skip to content
Permalink
Browse files

Fix #9780 Display line layers in Road Graph settings

  • Loading branch information
Piotr Pociask
Piotr Pociask committed Mar 14, 2014
1 parent b6b78ca commit f755781cffbc2af6c69067b4ae3325a6994bc5ea
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 f755781

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