Skip to content
Permalink
Browse files

Fix mouse wheel modifications to colors in QgsColorRampWidget

  • Loading branch information
nyalldawson committed Jun 1, 2017
1 parent df9ee6f commit bbec00f132ee73a702f3aa69cc759b41b2d39c13
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/qgscolorwidgets.cpp
@@ -1183,6 +1183,8 @@ void QgsColorRampWidget::wheelEvent( QWheelEvent *event )
emit colorChanged( mCurrentColor );
emit valueChanged( componentValue() );
}

event->accept();
}

void QgsColorRampWidget::mousePressEvent( QMouseEvent *event )

0 comments on commit bbec00f

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