Skip to content

Commit

Permalink
Remove color map sort button, as it is now always automatically sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
pierstitus authored and nyalldawson committed Jun 2, 2016
1 parent 8898d6c commit 3bd77c7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
5 changes: 0 additions & 5 deletions src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp
Expand Up @@ -250,11 +250,6 @@ void QgsSingleBandPseudoColorRendererWidget::on_mNumberOfEntriesSpinBox_valueCha
{
}

void QgsSingleBandPseudoColorRendererWidget::on_mSortButton_clicked()
{
mColormapTreeWidget->sortItems( 0, Qt::AscendingOrder );
}

void QgsSingleBandPseudoColorRendererWidget::on_mClassifyButton_clicked()
{
int bandComboIndex = mBandComboBox->currentIndex();
Expand Down
1 change: 0 additions & 1 deletion src/gui/raster/qgssinglebandpseudocolorrendererwidget.h
Expand Up @@ -53,7 +53,6 @@ class GUI_EXPORT QgsSingleBandPseudoColorRendererWidget: public QgsRasterRendere
void on_mAddEntryButton_clicked();
void on_mDeleteEntryButton_clicked();
void on_mNumberOfEntriesSpinBox_valueChanged();
void on_mSortButton_clicked();
void on_mClassifyButton_clicked();
void on_mLoadFromBandButton_clicked();
void on_mLoadFromFileButton_clicked();
Expand Down
14 changes: 0 additions & 14 deletions src/ui/qgssinglebandpseudocolorrendererwidgetbase.ui
Expand Up @@ -239,20 +239,6 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="mSortButton">
<property name="toolTip">
<string>Sort colormap items</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../../images/images.qrc">
<normaloff>:/images/themes/default/mActionArrowDown.png</normaloff>:/images/themes/default/mActionArrowDown.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="mLoadFromBandButton">
<property name="toolTip">
Expand Down

0 comments on commit 3bd77c7

Please sign in to comment.