Skip to content
Permalink
Browse files

Raster shader widget: reorder before labeling

  • Loading branch information
elpaso committed Nov 12, 2020
1 parent be7cbf1 commit 14e9630283728d5ba268cfbb76deec08ac5bee46
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/raster/qgscolorrampshaderwidget.cpp
@@ -180,6 +180,8 @@ QgsColorRampShader QgsColorRampShaderWidget::shader() const
void QgsColorRampShaderWidget::autoLabel()
{

mColormapTreeWidget->sortItems( ValueColumn, Qt::AscendingOrder );

#ifdef QGISDEBUG
dumpClasses();
#endif
@@ -205,7 +207,7 @@ void QgsColorRampShaderWidget::autoLabel()
currentItem->setForeground( LabelColumn, QBrush( QColor( Qt::gray ) ) );
}
}
mColormapTreeWidget->sortItems( ValueColumn, Qt::AscendingOrder );

}

void QgsColorRampShaderWidget::setUnitFromLabels()

0 comments on commit 14e9630

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