Skip to content
Permalink
Browse files

Fix condition

  • Loading branch information
pblottiere committed Mar 10, 2021
1 parent f94e29e commit 7b0b4afb9f0e64f5eaed65a84891eb98f00a0902
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsmaplayer.cpp
@@ -2015,7 +2015,7 @@ QgsRectangle QgsMapLayer::geographicExtent( bool actual ) const
{
QgsRectangle geoExtent;

if ( mReadFlags & QgsMapLayer::ReadFlag::FlagTrustLayerMetadata and not actual )
if ( mReadFlags & QgsMapLayer::ReadFlag::FlagTrustLayerMetadata && ! actual )
{
geoExtent = mGeographicExtent;
}

0 comments on commit 7b0b4af

Please sign in to comment.