UI: Do not remove focus on mouse leave events
For the "ignore wheel" widgets, do not leave focus on mouse leave events. This causes unintended side effects such as not being able to type in edit boxes, and is very annoying.
This commit is contained in:
@@ -20,8 +20,3 @@ void SliderIgnoreScroll::wheelEvent(QWheelEvent * event)
|
||||
else
|
||||
QSlider::wheelEvent(event);
|
||||
}
|
||||
|
||||
void SliderIgnoreScroll::leaveEvent(QEvent * event)
|
||||
{
|
||||
clearFocus();
|
||||
}
|
||||
|
Reference in New Issue
Block a user