Skip to content
Permalink
Browse files
fix last commit (followup 2e2853a)
  • Loading branch information
jef-n committed Jun 9, 2014
1 parent 2e2853a commit 1b667008bf86bfaa94650a2bdad421d83c6d49d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/layertree/qgslayertreeviewdefaultactions.cpp
@@ -199,7 +199,7 @@ void QgsLayerTreeViewDefaultActions::zoomToLayers( QgsMapCanvas* canvas, const Q
QgsRectangle layerExtent = layer->extent();

QgsVectorLayer *vLayer = qobject_cast<QgsVectorLayer*>( layer );
if ( vlayer && vLayer->geometryType() == QGis::NoGeometry )
if ( vLayer && vLayer->geometryType() == QGis::NoGeometry )
continue;

if ( layerExtent.isEmpty() && layer->type() == QgsMapLayer::VectorLayer )

0 comments on commit 1b66700

Please sign in to comment.