mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Merge pull request #190 from dakcarto/fix-comp-label-edit
Additional fix for #5862 fix.
This commit is contained in:
commit
89c818604a
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user