Skip to content

Commit 66da8cd

Browse files
committed
Fix some missing autoupdates for raster psuedo color widget
(cherry-picked from b349eb8)
1 parent de41c74 commit 66da8cd

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
@@ -147,6 +147,7 @@ QgsSingleBandPseudoColorRendererWidget::QgsSingleBandPseudoColorRendererWidget(
147147
connect( mInvertCheckBox, SIGNAL( stateChanged( int ) ), this, SLOT( on_mClassifyButton_clicked() ) );
148148
connect( mNumberOfEntriesSpinBox, SIGNAL( valueChanged( int ) ), this, SLOT( on_mClassifyButton_clicked() ) );
149149
connect( mBandComboBox, SIGNAL( currentIndexChanged( int ) ), this, SLOT( on_mClassifyButton_clicked() ) );
150+
connect( mClipCheckBox, SIGNAL( toggled( bool ) ), this, SIGNAL( widgetChanged() ) );
150151
}
151152

152153
QgsSingleBandPseudoColorRendererWidget::~QgsSingleBandPseudoColorRendererWidget()
@@ -791,6 +792,7 @@ void QgsSingleBandPseudoColorRendererWidget::mColormapTreeWidget_itemEdited( QTr
791792
{
792793
mColormapTreeWidget->sortItems( ValueColumn, Qt::AscendingOrder );
793794
autoLabel();
795+
emit widgetChanged();
794796
}
795797
else if ( column == LabelColumn )
796798
{
@@ -873,6 +875,7 @@ void QgsSingleBandPseudoColorRendererWidget::on_mColorInterpolationComboBox_curr
873875
header->setToolTip( ValueColumn, valueToolTip );
874876

875877
autoLabel();
878+
emit widgetChanged();
876879
}
877880

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

0 commit comments

Comments
 (0)