Skip to content

Commit

Permalink
Fix initial position of items for non mm layout units
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 25, 2017
1 parent 3d94f73 commit cd2c62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/layout/qgslayoutnewitempropertiesdialog.cpp
Expand Up @@ -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
Expand Down

0 comments on commit cd2c62e

Please sign in to comment.