Skip to content

Commit 3c63e0b

Browse files
committedJan 30, 2018
Fix non-map items show in layout 'reference map' widget
1 parent eba7e7b commit 3c63e0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/app/layout/qgslayoutpropertieswidget.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ QgsLayoutPropertiesWidget::QgsLayoutPropertiesWidget( QWidget *parent, QgsLayout
8282
connect( mReferenceMapComboBox, &QgsLayoutItemComboBox::itemChanged, this, &QgsLayoutPropertiesWidget::referenceMapChanged );
8383

8484
mReferenceMapComboBox->setCurrentLayout( mLayout );
85+
mReferenceMapComboBox->setItemType( QgsLayoutItemRegistry::LayoutMap );
8586

8687
connect( mLayout, &QgsLayout::changed, this, &QgsLayoutPropertiesWidget::updateGui );
8788

0 commit comments

Comments
 (0)
Please sign in to comment.