Skip to content

Commit

Permalink
[layout] set coverage layer for dynamic SVGs (#43248)
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 17, 2021
1 parent 5585622 commit 1107653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/layout/qgslayoutpicturewidget.cpp
Expand Up @@ -44,7 +44,7 @@ QgsLayoutPictureWidget::QgsLayoutPictureWidget( QgsLayoutItemPicture *picture )
mSvgSelectorWidget->setAllowParameters( true );
mSvgSelectorWidget->sourceLineEdit()->setPropertyOverrideToolButtonVisible( true );
mSvgSelectorWidget->sourceLineEdit()->setLastPathSettingsKey( QStringLiteral( "/UI/lastSVGMarkerDir" ) );
mSvgSelectorWidget->initParametersModel( layoutObject() );
mSvgSelectorWidget->initParametersModel( layoutObject(), coverageLayer() );

mResizeModeComboBox->addItem( tr( "Zoom" ), QgsLayoutItemPicture::Zoom );
mResizeModeComboBox->addItem( tr( "Stretch" ), QgsLayoutItemPicture::Stretch );
Expand Down

0 comments on commit 1107653

Please sign in to comment.