Skip to content
Permalink
Browse files

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 02d70fa0b0ae725ccc47723cb930af823f75e019
Showing with 0 additions and 9 deletions.
  1. +0 −8 src/gui/raster/qgspalettedrendererwidget.cpp
  2. +0 −1 src/gui/raster/qgspalettedrendererwidget.h
@@ -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 );
@@ -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

This comment has been minimized.

Copy link
Contributor Author

@nirvn nirvn commented on 02d70fa Dec 8, 2016

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

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