Skip to content
Permalink
Browse files

Fix some missing autoupdates for raster psuedo color widget

(cherry-picked from b349eb8)
  • Loading branch information
nyalldawson committed Aug 17, 2016
1 parent bce5ed5 commit 0feca4ca6f659d02c1d529fee1c1c2ec1c593bf6
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp
@@ -147,6 +147,7 @@ QgsSingleBandPseudoColorRendererWidget::QgsSingleBandPseudoColorRendererWidget(
connect( mInvertCheckBox, SIGNAL( stateChanged( int ) ), this, SLOT( on_mClassifyButton_clicked() ) );
connect( mNumberOfEntriesSpinBox, SIGNAL( valueChanged( int ) ), this, SLOT( on_mClassifyButton_clicked() ) );
connect( mBandComboBox, SIGNAL( currentIndexChanged( int ) ), this, SLOT( on_mClassifyButton_clicked() ) );
connect( mClipCheckBox, SIGNAL( toggled( bool ) ), this, SIGNAL( widgetChanged() ) );
}

QgsSingleBandPseudoColorRendererWidget::~QgsSingleBandPseudoColorRendererWidget()
@@ -791,6 +792,7 @@ void QgsSingleBandPseudoColorRendererWidget::mColormapTreeWidget_itemEdited( QTr
{
mColormapTreeWidget->sortItems( ValueColumn, Qt::AscendingOrder );
autoLabel();
emit widgetChanged();
}
else if ( column == LabelColumn )
{
@@ -873,6 +875,7 @@ void QgsSingleBandPseudoColorRendererWidget::on_mColorInterpolationComboBox_curr
header->setToolTip( ValueColumn, valueToolTip );

autoLabel();
emit widgetChanged();
}

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

0 comments on commit 0feca4c

Please sign in to comment.
You can’t perform that action at this time.