]> git.lyx.org Git - features.git/commitdiff
Extend comment and remove superfluous parentheses.
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 16 May 2015 17:18:51 +0000 (19:18 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 16 May 2015 17:18:51 +0000 (19:18 +0200)
src/frontends/qt4/GuiApplication.cpp

index 2fa6a71577f64ed6a310f46d8f21265756a1504d..6640ce359c6a4c6b8a5b5277c8ae825c579af71d 100644 (file)
@@ -2142,10 +2142,10 @@ void GuiApplication::processKeySym(KeySymbol const & keysym, KeyModifier state)
                        // If a non-Shift Modifier is used we have a non-bound key sequence
                        // (such as Alt+j = j). This should be omitted (#5575).
                        // FIXME: On Windows, the AltModifier and ShiftModifer is also
-                       // set when AltGr is pressed. Therefore, the check below does not work
-                       // (see #5575 for details).
+                       // set when AltGr is pressed. Therefore, the check below cannot be used
+                       // since it breaks AltGr-bound symbols (see #5575 for details).
 #if !defined(_WIN32)
-                       if ((state & AltModifier || state & ControlModifier || state & MetaModifier)) {
+                       if (state & AltModifier || state & ControlModifier || state & MetaModifier) {
                                current_view_->message(_("Unknown function."));
                                current_view_->restartCursor();
                                return;