Skip to content

Commit 3bd77c7

Browse files
pierstitusnyalldawson
authored andcommitted
Remove color map sort button, as it is now always automatically sorted
1 parent 8898d6c commit 3bd77c7

3 files changed

+0
-20
lines changed

src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,6 @@ void QgsSingleBandPseudoColorRendererWidget::on_mNumberOfEntriesSpinBox_valueCha
250250
{
251251
}
252252

253-
void QgsSingleBandPseudoColorRendererWidget::on_mSortButton_clicked()
254-
{
255-
mColormapTreeWidget->sortItems( 0, Qt::AscendingOrder );
256-
}
257-
258253
void QgsSingleBandPseudoColorRendererWidget::on_mClassifyButton_clicked()
259254
{
260255
int bandComboIndex = mBandComboBox->currentIndex();

src/gui/raster/qgssinglebandpseudocolorrendererwidget.h

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class GUI_EXPORT QgsSingleBandPseudoColorRendererWidget: public QgsRasterRendere
5353
void on_mAddEntryButton_clicked();
5454
void on_mDeleteEntryButton_clicked();
5555
void on_mNumberOfEntriesSpinBox_valueChanged();
56-
void on_mSortButton_clicked();
5756
void on_mClassifyButton_clicked();
5857
void on_mLoadFromBandButton_clicked();
5958
void on_mLoadFromFileButton_clicked();

src/ui/qgssinglebandpseudocolorrendererwidgetbase.ui

-14
Original file line numberDiff line numberDiff line change
@@ -239,20 +239,6 @@
239239
</property>
240240
</widget>
241241
</item>
242-
<item>
243-
<widget class="QToolButton" name="mSortButton">
244-
<property name="toolTip">
245-
<string>Sort colormap items</string>
246-
</property>
247-
<property name="text">
248-
<string>...</string>
249-
</property>
250-
<property name="icon">
251-
<iconset resource="../../images/images.qrc">
252-
<normaloff>:/images/themes/default/mActionArrowDown.png</normaloff>:/images/themes/default/mActionArrowDown.png</iconset>
253-
</property>
254-
</widget>
255-
</item>
256242
<item>
257243
<widget class="QToolButton" name="mLoadFromBandButton">
258244
<property name="toolTip">

0 commit comments

Comments
 (0)