Skip to content

Commit 55f6b11

Browse files
committed
[composer] Fix expressions inserted into HTML item source are lost on refresh
1 parent b7706b3 commit 55f6b11

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/app/composer/qgscomposerhtmlwidget.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ void QgsComposerHtmlWidget::on_mInsertExpressionButton_clicked()
377377
{
378378
mHtmlEditor->insertAt( "[%" + expression + "%]", line, index );
379379
}
380+
mHtml->setHtml( mHtmlEditor->text() );
380381
composition->endMultiFrameCommand();
381382
blockSignals( false );
382383
}

0 commit comments

Comments
 (0)