Skip to content
Permalink
Browse files

Fix missing canvas flash after locating to geocode result with viewport

  • Loading branch information
nyalldawson committed Nov 3, 2020
1 parent 1acfe1f commit a1fcc7da4a197f07424d2677e71e7391ddbeee9a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsgeocoderlocatorfilter.cpp
@@ -38,9 +38,9 @@ void QgsGeocoderLocatorFilter::handleGeocodeResult( const QgsGeocoderResult &res
try
{
QgsRectangle bounds;
g.transform( ct );
if ( viewport.isNull() )
{
g.transform( ct );
bounds = g.boundingBox();
}
else

0 comments on commit a1fcc7d

Please sign in to comment.
You can’t perform that action at this time.