Skip to content

Commit

Permalink
Expose alpha on raster colour dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed May 19, 2013
1 parent 95b9d38 commit 6370aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp
Expand Up @@ -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 ) );
Expand Down

0 comments on commit 6370aa4

Please sign in to comment.