Skip to content
Permalink
Browse files
Fix initial position of items for non mm layout units
  • Loading branch information
nyalldawson committed Jul 25, 2017
1 parent 3d94f73 commit cd2c62e825d6fdb75d78755d0d2059823fb7faf1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/layout/qgslayoutnewitempropertiesdialog.cpp
@@ -53,9 +53,9 @@ QgsLayoutItemPropertiesDialog::QgsLayoutItemPropertiesDialog( QWidget *parent, Q

void QgsLayoutItemPropertiesDialog::setItemPosition( QgsLayoutPoint position )
{
mPosUnitsComboBox->setUnit( position.units() );
mXPosSpin->setValue( position.x() );
mYPosSpin->setValue( position.y() );
mPosUnitsComboBox->setUnit( position.units() );
}

QgsLayoutPoint QgsLayoutItemPropertiesDialog::itemPosition() const

0 comments on commit cd2c62e

Please sign in to comment.