Skip to content

Commit

Permalink
Better block for signals when creating composer legend widget
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jul 13, 2011
1 parent 70bdbfb commit c79eb9d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/composer/qgscomposerlegendwidget.cpp
Expand Up @@ -635,9 +635,16 @@ void QgsComposerLegendWidget::updateLegend()

void QgsComposerLegendWidget::blockAllSignals( bool b )
{
mTitleLineEdit->blockSignals( b );
mItemTreeView->blockSignals( b );
mCheckBoxAutoUpdate->blockSignals( b );
mMapComboBox->blockSignals( b );
mSymbolWidthSpinBox->blockSignals( b );
mSymbolHeightSpinBox->blockSignals( b );
mLayerSpaceSpinBox->blockSignals( b );
mSymbolSpaceSpinBox->blockSignals( b );
mIconLabelSpaceSpinBox->blockSignals( b );
mBoxSpaceSpinBox->blockSignals( b );
}

void QgsComposerLegendWidget::refreshMapComboBox()
Expand Down

0 comments on commit c79eb9d

Please sign in to comment.