diff --git a/Source/Fractorium/Fractorium.cpp b/Source/Fractorium/Fractorium.cpp index ee5bb0b..9972633 100644 --- a/Source/Fractorium/Fractorium.cpp +++ b/Source/Fractorium/Fractorium.cpp @@ -404,9 +404,11 @@ bool Fractorium::eventFilter(QObject* o, QEvent* e) } else if (o == this) { - auto focusedctrl = dynamic_cast(this->focusWidget()); + auto focusedctrlSpin = dynamic_cast(this->focusWidget()); - if (!focusedctrl)//Doesn't seem to matter, but just to be safe. + auto focusedctrlDbSpin = dynamic_cast(this->focusWidget()); + + if (!focusedctrlSpin && !focusedctrlDbSpin)//Doesn't seem to matter, but just to be safe. { unsigned int index = combo->currentIndex();