Skip to content
Permalink
Browse files

Fix warning

  • Loading branch information
nyalldawson committed Dec 4, 2017
1 parent 2fb3c57 commit b2872194df9e0d66ad92f5e21eb0ac98d3ae29af
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/layout/qgslayoutitemattributetable.cpp
@@ -428,7 +428,7 @@ bool QgsLayoutItemAttributeTable::getTableContents( QgsLayoutTableContents &cont
if ( layer )
{
//transform back to layer CRS
QgsCoordinateTransform coordTransform( layer->crs(), mMap->crs() );
QgsCoordinateTransform coordTransform( layer->crs(), mMap->crs(), mLayout->project() );
try
{
selectionRect = coordTransform.transformBoundingBox( selectionRect, QgsCoordinateTransform::ReverseTransform );

0 comments on commit b287219

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