Skip to content
Permalink
Browse files

Expose alpha on raster colour dialog

  • Loading branch information
NathanW2 committed May 19, 2013
1 parent 95b9d38 commit 6370aa48ce7158f74ea1bc64c361583d680627d7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp
@@ -544,7 +544,7 @@ void QgsSingleBandPseudoColorRendererWidget::on_mColormapTreeWidget_itemDoubleCl
if ( column == 1 ) //change item color
{
item->setFlags( Qt::ItemIsEnabled | Qt::ItemIsSelectable );
QColor newColor = QColorDialog::getColor( item->background( column ).color() );
QColor newColor = QColorDialog::getColor( item->background( column ).color(), this, "Change color", QColorDialog::ShowAlphaChannel );
if ( newColor.isValid() )
{
item->setBackground( 1, QBrush( newColor ) );

0 comments on commit 6370aa4

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