Skip to content
Permalink
Browse files

[raster] prevent pseudocolor auto-classify following color customizat…

…ion in tree
  • Loading branch information
nirvn committed Feb 8, 2018
1 parent 234540f commit e2c713e249291580ed49c343d3b62af4b82769cd
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp
@@ -629,6 +629,7 @@ void QgsSingleBandPseudoColorRendererWidget::mColormapTreeWidget_itemDoubleClick
if ( newColor.isValid() )
{
item->setBackground( ColorColumn, QBrush( newColor ) );
loadMinMaxFromTree();
emit widgetChanged();
}
}
@@ -858,6 +859,8 @@ void QgsSingleBandPseudoColorRendererWidget::changeColor()
item->setFlags( Qt::ItemIsEnabled | Qt::ItemIsSelectable );
item->setBackground( ColorColumn, QBrush( newColor ) );
}

loadMinMaxFromTree();
emit widgetChanged();
}
}
@@ -884,6 +887,8 @@ void QgsSingleBandPseudoColorRendererWidget::changeOpacity()
newColor.setAlpha( newOpacity );
item->setBackground( ColorColumn, QBrush( newColor ) );
}

loadMinMaxFromTree();
emit widgetChanged();
}
}

0 comments on commit e2c713e

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