Skip to content
Permalink
Browse files
also set picture mode
  • Loading branch information
3nids authored and github-actions committed Jun 22, 2021
1 parent 4510dd4 commit c4a0f5b5719699cc91aa179a005e120519a5713e
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 c4a0f5b

Please sign in to comment.