Skip to content

Commit

Permalink
fix last commit (followup 2e2853a)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 9, 2014
1 parent 2e2853a commit 1b66700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/layertree/qgslayertreeviewdefaultactions.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 1b66700

Please sign in to comment.