Skip to content

Commit 6370aa4

Browse files
committed
Expose alpha on raster colour dialog
1 parent 95b9d38 commit 6370aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ void QgsSingleBandPseudoColorRendererWidget::on_mColormapTreeWidget_itemDoubleCl
544544
if ( column == 1 ) //change item color
545545
{
546546
item->setFlags( Qt::ItemIsEnabled | Qt::ItemIsSelectable );
547-
QColor newColor = QColorDialog::getColor( item->background( column ).color() );
547+
QColor newColor = QColorDialog::getColor( item->background( column ).color(), this, "Change color", QColorDialog::ShowAlphaChannel );
548548
if ( newColor.isValid() )
549549
{
550550
item->setBackground( 1, QBrush( newColor ) );

0 commit comments

Comments
 (0)