Skip to content

Commit

Permalink
[composer] Fix expressions inserted into HTML item source are lost on…
Browse files Browse the repository at this point in the history
… refresh
  • Loading branch information
nyalldawson committed Jan 12, 2017
1 parent b7706b3 commit 55f6b11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/composer/qgscomposerhtmlwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ void QgsComposerHtmlWidget::on_mInsertExpressionButton_clicked()
{
mHtmlEditor->insertAt( "[%" + expression + "%]", line, index );
}
mHtml->setHtml( mHtmlEditor->text() );
composition->endMultiFrameCommand();
blockSignals( false );
}
Expand Down

0 comments on commit 55f6b11

Please sign in to comment.