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 e2c713e
Showing 1 changed file with 5 additions and 0 deletions.
@@ -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.