mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-02-01 10:30:08 -05:00
--Bug fixes:
-Spinboxes were able to be edited even when they were disabled.
This commit is contained in:
parent
714cfc633a
commit
39e99a7491
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user