Skip to content

Commit b349eb8

Browse files
committed
Fix some missing autoupdates for raster psuedo color widget
1 parent 34ebe12 commit b349eb8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ QgsSingleBandPseudoColorRendererWidget::QgsSingleBandPseudoColorRendererWidget(
116116
connect( mInvertCheckBox, SIGNAL( stateChanged( int ) ), this, SLOT( on_mClassifyButton_clicked() ) );
117117
connect( mNumberOfEntriesSpinBox, SIGNAL( valueChanged( int ) ), this, SLOT( on_mClassifyButton_clicked() ) );
118118
connect( mBandComboBox, SIGNAL( currentIndexChanged( int ) ), this, SLOT( on_mClassifyButton_clicked() ) );
119+
connect( mClipCheckBox, SIGNAL( toggled( bool ) ), this, SIGNAL( widgetChanged() ) );
119120
}
120121

121122
QgsSingleBandPseudoColorRendererWidget::~QgsSingleBandPseudoColorRendererWidget()
@@ -760,6 +761,7 @@ void QgsSingleBandPseudoColorRendererWidget::mColormapTreeWidget_itemEdited( QTr
760761
{
761762
mColormapTreeWidget->sortItems( ValueColumn, Qt::AscendingOrder );
762763
autoLabel();
764+
emit widgetChanged();
763765
}
764766
else if ( column == LabelColumn )
765767
{
@@ -842,6 +844,7 @@ void QgsSingleBandPseudoColorRendererWidget::on_mColorInterpolationComboBox_curr
842844
header->setToolTip( ValueColumn, valueToolTip );
843845

844846
autoLabel();
847+
emit widgetChanged();
845848
}
846849

847850
void QgsSingleBandPseudoColorRendererWidget::loadMinMax( int theBandNo, double theMin, double theMax, int theOrigin )

0 commit comments

Comments
 (0)