Skip to content

Commit bb2d8f8

Browse files
committed
Add missing alpha value option for colour ramps
1 parent 09f1707 commit bb2d8f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gui/symbology-ng/qgsvectorgradientcolorrampv2dialog.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@ void QgsVectorGradientColorRampV2Dialog::stopDoubleClicked( QTreeWidgetItem* ite
268268
mCurrentItem = item;
269269
color = QgsColorDialog::getLiveColor(
270270
item->data( 0, StopColorRole ).value<QColor>(),
271-
this, SLOT( setItemStopColor( const QColor& ) ), this );
271+
this, SLOT( setItemStopColor( const QColor& ) ),
272+
this, tr("Edit Stop Color"), QColorDialog::ShowAlphaChannel );
272273
mCurrentItem = 0;
273274
}
274275
else

0 commit comments

Comments
 (0)