mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-02-01 18:40:12 -05:00
Formatting
This commit is contained in:
parent
933af2dae0
commit
066420e2e2
@ -405,10 +405,9 @@ bool Fractorium::eventFilter(QObject* o, QEvent* e)
|
|||||||
else if (o == this)
|
else if (o == this)
|
||||||
{
|
{
|
||||||
auto focusedctrlSpin = dynamic_cast<QSpinBox*>(this->focusWidget());
|
auto focusedctrlSpin = dynamic_cast<QSpinBox*>(this->focusWidget());
|
||||||
|
|
||||||
auto focusedctrlDbSpin = dynamic_cast<QDoubleSpinBox*>(this->focusWidget());
|
auto focusedctrlDbSpin = dynamic_cast<QDoubleSpinBox*>(this->focusWidget());
|
||||||
|
|
||||||
if (!focusedctrlSpin && !focusedctrlDbSpin)//Doesn't seem to matter, but just to be safe.
|
if (!focusedctrlSpin && !focusedctrlDbSpin)//Must exclude these because otherwise, typing a minus key in any of the spinners will switch the xform.
|
||||||
{
|
{
|
||||||
unsigned int index = combo->currentIndex();
|
unsigned int index = combo->currentIndex();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user