File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments