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:
jp9000
2019-04-21 04:03:37 -07:00
parent 491abe7f40
commit c3c740d36f
8 changed files with 0 additions and 24 deletions

View File

@@ -200,7 +200,6 @@ public:
void setPeakMeterType(enum obs_peak_meter_type peakMeterType);
virtual void mousePressEvent(QMouseEvent *event) override;
virtual void wheelEvent(QWheelEvent *event) override;
virtual void leaveEvent(QEvent *event) override;
protected:
void paintEvent(QPaintEvent *event) override;