Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jun 15, 2017
1 parent 14b8435 commit c257448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsmapcanvas.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit c257448

Please sign in to comment.