Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #190 from dakcarto/fix-comp-label-edit
Additional fix for #5862 fix.
  • Loading branch information
timlinux committed Jul 19, 2012
2 parents d6c0c6d + 5f9f76e commit 89c8186
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/composer/qgscomposerlabelwidget.cpp
Expand Up @@ -42,8 +42,10 @@ void QgsComposerLabelWidget::on_mTextEdit_textChanged()
if ( mComposerLabel )
{
mComposerLabel->beginCommand( tr( "Label text changed" ), QgsComposerMergeCommand::ComposerLabelSetText );
mComposerLabel->blockSignals( true );
mComposerLabel->setText( mTextEdit->toPlainText() );
mComposerLabel->update();
mComposerLabel->blockSignals( false );
mComposerLabel->endCommand();
}
}
Expand Down

0 comments on commit 89c8186

Please sign in to comment.