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 )
917
917
return ;
918
918
919
919
QgsRectangle rect = layer->boundingBoxOfSelected ();
920
- if (rect.isNull ())
920
+ if ( rect.isNull () )
921
921
{
922
922
emit messageEmitted ( tr ( " Cannot zoom to selected feature(s)" ), tr ( " No extent could be determined." ), QgsMessageBar::WARNING );
923
923
return ;
@@ -1040,7 +1040,7 @@ void QgsMapCanvas::panToSelected( QgsVectorLayer *layer )
1040
1040
return ;
1041
1041
1042
1042
QgsRectangle rect = layer->boundingBoxOfSelected ();
1043
- if (rect.isNull ())
1043
+ if ( rect.isNull () )
1044
1044
{
1045
1045
emit messageEmitted ( tr ( " Cannot pan to selected feature(s)" ), tr ( " No extent could be determined." ), QgsMessageBar::WARNING );
1046
1046
return ;
You can’t perform that action at this time.
0 commit comments