--Bug fixes:

-Spinboxes were able to be edited even when they were disabled.
This commit is contained in:
Person 2019-06-03 17:34:17 -07:00
parent 714cfc633a
commit 39e99a7491
2 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ bool DoubleSpinBox::eventFilter(QObject* o, QEvent* e)
return true; return true;
} }
} }
else else if (isEnabled())
{ {
if (e->type() == QEvent::Wheel) if (e->type() == QEvent::Wheel)
{ {

View File

@ -215,7 +215,7 @@ bool SpinBox::eventFilter(QObject* o, QEvent* e)
return true; return true;
} }
} }
else else if (isEnabled())
{ {
if (e->type() == QEvent::Wheel) if (e->type() == QEvent::Wheel)
{ {