Skip to content

Commit

Permalink
layout update dpi on editingFinished
Browse files Browse the repository at this point in the history
  • Loading branch information
YoannQDQ committed Nov 13, 2024
1 parent 11946b9 commit 245be93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/layout/qgslayoutpropertieswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ QgsLayoutPropertiesWidget::QgsLayoutPropertiesWidget( QWidget *parent, QgsLayout
connect( mLeftMarginSpinBox, static_cast < void ( QDoubleSpinBox::* )( double ) > ( &QDoubleSpinBox::valueChanged ), this, &QgsLayoutPropertiesWidget::resizeMarginsChanged );
connect( mResizePageButton, &QPushButton::clicked, this, &QgsLayoutPropertiesWidget::resizeToContents );

connect( mResolutionSpinBox, static_cast < void ( QSpinBox::* )( int ) > ( &QSpinBox::valueChanged ), this, &QgsLayoutPropertiesWidget::dpiChanged );
connect( mResolutionSpinBox, &QSpinBox::editingFinished, this, [ this ] { dpiChanged( mResolutionSpinBox->value() ); } );

mReferenceMapComboBox->setCurrentLayout( mLayout );
mReferenceMapComboBox->setItemType( QgsLayoutItemRegistry::LayoutMap );
Expand Down

0 comments on commit 245be93

Please sign in to comment.