Skip to content
Permalink
Browse files
[layout] set coverage layer for dynamic SVGs (#43248)
  • Loading branch information
3nids committed May 17, 2021
1 parent 5585622 commit 110765303895f95371aff98e5105e8179d62a8d4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/layout/qgslayoutpicturewidget.cpp
@@ -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 );

0 comments on commit 1107653

Please sign in to comment.