Skip to content
Permalink
Browse files
also set picture mode
  • Loading branch information
3nids committed Jun 21, 2021
1 parent 0eae171 commit f24471d1e810610802a116a7bd26b9f0801a3dd3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/layout/qgslayoutpicturewidget.cpp
@@ -473,7 +473,7 @@ void QgsLayoutPictureWidget::sourceChanged( const QString &source )
if ( mPicture )
{
mPicture->beginCommand( tr( "Change Picture" ) );
mPicture->setPicturePath( source );
mPicture->setPicturePath( source, mRadioSVG->isChecked() ? QgsLayoutItemPicture::FormatSVG : QgsLayoutItemPicture::FormatRaster );
mPicture->update();
mPicture->endCommand();
updateSvgParamGui();

0 comments on commit f24471d

Please sign in to comment.