Skip to content

Commit c257448

Browse files
committedJun 15, 2017
fix indentation
1 parent 14b8435 commit c257448

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/gui/qgsmapcanvas.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ void QgsMapCanvas::zoomToSelected( QgsVectorLayer *layer )
917917
return;
918918

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.