Skip to content

Commit bbec00f

Browse files
committed
Fix mouse wheel modifications to colors in QgsColorRampWidget
1 parent df9ee6f commit bbec00f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/qgscolorwidgets.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,8 @@ void QgsColorRampWidget::wheelEvent( QWheelEvent *event )
11831183
emit colorChanged( mCurrentColor );
11841184
emit valueChanged( componentValue() );
11851185
}
1186+
1187+
event->accept();
11861188
}
11871189

11881190
void QgsColorRampWidget::mousePressEvent( QMouseEvent *event )

0 commit comments

Comments
 (0)