Merge pull request #190 from dakcarto/fix-comp-label-edit

Additional fix for #5862 fix.
This commit is contained in:
Tim Sutton 2012-07-19 15:02:12 -07:00
commit 89c818604a

View File

@ -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();
}
}