Skip to content
Permalink
Browse files

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 89c818604aa47b801e484732fa5a3d5c597c9504
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/composer/qgscomposerlabelwidget.cpp
@@ -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();
}
}

0 comments on commit 89c8186

Please sign in to comment.
You can’t perform that action at this time.