mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix warning
This commit is contained in:
parent
2fb3c57600
commit
b2872194df
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user