Skip to content
Permalink
Browse files
also set picture mode
  • Loading branch information
3nids authored and nyalldawson committed Jun 29, 2021
1 parent 3bfdd75 commit cc837342269ec2876212e95a4e27d12c4c36481d
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 cc83734

Please sign in to comment.