Skip to content

Commit

Permalink
Fix non-map items show in layout 'reference map' widget
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 30, 2018
1 parent eba7e7b commit 3c63e0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/layout/qgslayoutpropertieswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit 3c63e0b

Please sign in to comment.