mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
fix indentation
This commit is contained in:
parent
14b8435f1b
commit
c25744853a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user