From 7b613df986eaea19b32585ac12622fa6b94d2e66 Mon Sep 17 00:00:00 2001 From: Michel Mastriani Date: Fri, 14 Jun 2019 00:06:50 -0300 Subject: [PATCH] Fixed Minus Key --- Source/Fractorium/Fractorium.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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();