Fixed wheel working on spinbox non-focused
Merge pull request #3302 from aws-lumberyard-dev/FixWheelChangingNonFocusedValues
This commit is contained in:
@@ -366,7 +366,7 @@ bool SpinBoxWatcher::filterSpinBoxEvents(QAbstractSpinBox* spinBox, QEvent* even
|
||||
{
|
||||
// To prevent the event being turned into a focus event, be sure to install an
|
||||
// AzQtComponents::GlobalEventFilter on your QApplication instance.
|
||||
event->ignore();
|
||||
event->accept();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user