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 )
884
884
mRasterBorderGroupBox ->blockSignals ( b );
885
885
mRasterBorderColorButton ->blockSignals ( b );
886
886
mRasterBorderWidthSpinBox ->blockSignals ( b );
887
+ mWmsLegendWidthSpinBox ->blockSignals ( b );
888
+ mWmsLegendHeightSpinBox ->blockSignals ( b );
889
+ mTitleSpaceBottomSpinBox ->blockSignals ( b );
887
890
}
888
891
889
892
void 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()
298
298
void QgsComposerLegend::updateLegend ()
299
299
{
300
300
// take layer list from map renderer (to have legend order)
301
+ mLegendModel .blockSignals ( true );
301
302
mLegendModel .setLayerSet ( mComposition ? mComposition ->mapSettings ().layers () : QStringList () );
303
+ mLegendModel .blockSignals ( false );
302
304
adjustBoxSize ();
303
305
updateItem ();
304
306
}
You can’t perform that action at this time.
0 commit comments