File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -884,6 +884,9 @@ void QgsComposerLegendWidget::blockAllSignals( bool b )
884884 mRasterBorderGroupBox ->blockSignals ( b );
885885 mRasterBorderColorButton ->blockSignals ( b );
886886 mRasterBorderWidthSpinBox ->blockSignals ( b );
887+ mWmsLegendWidthSpinBox ->blockSignals ( b );
888+ mWmsLegendHeightSpinBox ->blockSignals ( b );
889+ mTitleSpaceBottomSpinBox ->blockSignals ( b );
887890}
888891
889892void QgsComposerLegendWidget::selectedChanged ( const QModelIndex & current, const QModelIndex & previous )
Original file line number Diff line number Diff line change @@ -298,7 +298,9 @@ void QgsComposerLegend::synchronizeWithModel()
298298void QgsComposerLegend::updateLegend ()
299299{
300300 // take layer list from map renderer (to have legend order)
301+ mLegendModel .blockSignals ( true );
301302 mLegendModel .setLayerSet ( mComposition ? mComposition ->mapSettings ().layers () : QStringList () );
303+ mLegendModel .blockSignals ( false );
302304 adjustBoxSize ();
303305 updateItem ();
304306}
You can’t perform that action at this time.
0 commit comments