Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "[style dock] emit widgetChanged() when raster palette labels …
…updated"

This reverts commit f92928d.
  • Loading branch information
nirvn committed Dec 8, 2016
1 parent f92928d commit 02d70fa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions src/gui/raster/qgspalettedrendererwidget.cpp
Expand Up @@ -85,14 +85,6 @@ void QgsPalettedRendererWidget::on_mTreeWidget_itemDoubleClicked( QTreeWidgetIte
}
}

void QgsPalettedRendererWidget::on_mTreeWidget_itemChanged( QTreeWidgetItem * item, int column )
{
if ( column == 2 && item ) //palette label modified
{
emit widgetChanged();
}
}

void QgsPalettedRendererWidget::setFromRenderer( const QgsRasterRenderer* r )
{
const QgsPalettedRasterRenderer* pr = dynamic_cast<const QgsPalettedRasterRenderer*>( r );
Expand Down
1 change: 0 additions & 1 deletion src/gui/raster/qgspalettedrendererwidget.h
Expand Up @@ -38,7 +38,6 @@ class GUI_EXPORT QgsPalettedRendererWidget: public QgsRasterRendererWidget, priv

private slots:
void on_mTreeWidget_itemDoubleClicked( QTreeWidgetItem * item, int column );
void on_mTreeWidget_itemChanged( QTreeWidgetItem * item, int column );
};

#endif // QGSPALETTEDRENDERERWIDGET_H

1 comment on commit 02d70fa

@nirvn
Copy link
Contributor Author

@nirvn nirvn commented on 02d70fa Dec 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, apologies, I spaced out thinking the style dock was introduced during the 2.14 dev cycle.

Please sign in to comment.