Skip to content
Permalink
Browse files

fix indentation

  • Loading branch information
3nids committed Jun 15, 2017
1 parent 14b8435 commit c25744853a6949e68e9ac0dc4241fb5be2e13444
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsmapcanvas.cpp
@@ -917,7 +917,7 @@ void QgsMapCanvas::zoomToSelected( QgsVectorLayer *layer )
return;

QgsRectangle rect = layer->boundingBoxOfSelected();
if (rect.isNull())
if ( rect.isNull() )
{
emit messageEmitted( tr( "Cannot zoom to selected feature(s)" ), tr( "No extent could be determined." ), QgsMessageBar::WARNING );
return;
@@ -1040,7 +1040,7 @@ void QgsMapCanvas::panToSelected( QgsVectorLayer *layer )
return;

QgsRectangle rect = layer->boundingBoxOfSelected();
if (rect.isNull())
if ( rect.isNull() )
{
emit messageEmitted( tr( "Cannot pan to selected feature(s)" ), tr( "No extent could be determined." ), QgsMessageBar::WARNING );
return;

0 comments on commit c257448

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