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 authored and nyalldawson committed Dec 9, 2024
1 parent e75dfca commit d710ea7
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 @@ -87,7 +87,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 d710ea7

Please sign in to comment.