Skip to content
Permalink
Browse files

Fix non-map items show in layout 'reference map' widget

  • Loading branch information
nyalldawson committed Jan 30, 2018
1 parent eba7e7b commit 3c63e0b152c5f0b90e8f1ca152f30f2ea411ea69
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/layout/qgslayoutpropertieswidget.cpp
@@ -82,6 +82,7 @@ QgsLayoutPropertiesWidget::QgsLayoutPropertiesWidget( QWidget *parent, QgsLayout
connect( mReferenceMapComboBox, &QgsLayoutItemComboBox::itemChanged, this, &QgsLayoutPropertiesWidget::referenceMapChanged );

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

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

0 comments on commit 3c63e0b

Please sign in to comment.
You can’t perform that action at this time.