From 6a14ef89e4095821905e7071be114e8aa9cfe8a4 Mon Sep 17 00:00:00 2001 From: Person Date: Wed, 15 Jan 2020 06:07:18 -0800 Subject: [PATCH] --Bug fixes -Don't apply keyboard edits to affines when alt is pressed. --- Source/Fractorium/Fractorium.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Fractorium/Fractorium.cpp b/Source/Fractorium/Fractorium.cpp index d338dd2..05c9989 100644 --- a/Source/Fractorium/Fractorium.cpp +++ b/Source/Fractorium/Fractorium.cpp @@ -419,7 +419,8 @@ bool Fractorium::eventFilter(QObject* o, QEvent* e) if (!focusedctrlEdit && !focusedctrlSpin && !focusedctrlDblSpin && - !focusedctrlCombo)//Must exclude these because otherwise, typing a minus key in any of the spinners will switch the xform. + !focusedctrlCombo && + !QGuiApplication::keyboardModifiers().testFlag(Qt::AltModifier))//Must exclude these because otherwise, typing a minus key in any of the spinners will switch the xform. Also exclude alt. { unsigned int index = combo->currentIndex(); double vdist = 0.01;