mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 13:26:02 -04:00
--Bug fixes:
-Spinboxes were able to be edited even when they were disabled.
This commit is contained in:
@ -217,7 +217,7 @@ bool DoubleSpinBox::eventFilter(QObject* o, QEvent* e)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (isEnabled())
|
||||
{
|
||||
if (e->type() == QEvent::Wheel)
|
||||
{
|
||||
|
@ -215,7 +215,7 @@ bool SpinBox::eventFilter(QObject* o, QEvent* e)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (isEnabled())
|
||||
{
|
||||
if (e->type() == QEvent::Wheel)
|
||||
{
|
||||
|
Reference in New Issue
Block a user