Skip to content

Commit 40626ca

Browse files
committed
[layouts] Fix reference map can change when opening a layout designer
(cherry-picked from 6b5dfce)
1 parent a7c42d2 commit 40626ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/layout/qgslayoutpropertieswidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ QgsLayoutPropertiesWidget::QgsLayoutPropertiesWidget( QWidget *parent, QgsLayout
7979
connect( mResizePageButton, &QPushButton::clicked, this, &QgsLayoutPropertiesWidget::resizeToContents );
8080

8181
connect( mResolutionSpinBox, static_cast < void ( QSpinBox::* )( int ) > ( &QSpinBox::valueChanged ), this, &QgsLayoutPropertiesWidget::dpiChanged );
82-
connect( mReferenceMapComboBox, &QgsLayoutItemComboBox::itemChanged, this, &QgsLayoutPropertiesWidget::referenceMapChanged );
8382

8483
mReferenceMapComboBox->setCurrentLayout( mLayout );
8584
mReferenceMapComboBox->setItemType( QgsLayoutItemRegistry::LayoutMap );
85+
connect( mReferenceMapComboBox, &QgsLayoutItemComboBox::itemChanged, this, &QgsLayoutPropertiesWidget::referenceMapChanged );
8686

8787
connect( mLayout, &QgsLayout::changed, this, &QgsLayoutPropertiesWidget::updateGui );
8888

0 commit comments

Comments
 (0)