We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent e7a68ba commit 6cc1f3dCopy full SHA for 6cc1f3d
src/app/qgsrasterlayerproperties.cpp
@@ -2649,7 +2649,7 @@ void QgsRasterLayerProperties::handleColormapTreeWidgetDoubleClick( QTreeWidgetI
2649
{
2650
item->setFlags( Qt::ItemIsEnabled | Qt::ItemIsSelectable );
2651
//show color dialog
2652
- QColor newColor = QColorDialog::getColor();
+ QColor newColor = QColorDialog::getColor(item->background(column).color());
2653
if ( newColor.isValid() )
2654
2655
item->setBackground( 1, QBrush( newColor ) );
0 commit comments