Skip to content

Commit

Permalink
Fix mouse wheel modifications to colors in QgsColorRampWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 1, 2017
1 parent df9ee6f commit bbec00f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgscolorwidgets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,8 @@ void QgsColorRampWidget::wheelEvent( QWheelEvent *event )
emit colorChanged( mCurrentColor );
emit valueChanged( componentValue() );
}

event->accept();
}

void QgsColorRampWidget::mousePressEvent( QMouseEvent *event )
Expand Down

0 comments on commit bbec00f

Please sign in to comment.