Skip to content

Commit 55f6b11

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎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)
Please sign in to comment.