Skip to content

Commit

Permalink
Fix bottom margin dd
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 17, 2023
1 parent d0f6481 commit 943198a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/layout/qgslayoutitemelevationprofile.cpp
Expand Up @@ -357,7 +357,7 @@ void QgsLayoutItemElevationProfile::refreshDataDefinedProperty( DataDefinedPrope
double value = mPlot->margins().bottom();

bool ok = false;
value = mDataDefinedProperties.valueAsDouble( QgsLayoutObject::MarginLeft, context, value, &ok );
value = mDataDefinedProperties.valueAsDouble( QgsLayoutObject::MarginBottom, context, value, &ok );

if ( !ok )
{
Expand Down

0 comments on commit 943198a

Please sign in to comment.