mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Extend comment and remove superfluous parentheses.
This commit is contained in:
parent
9e57f906c2
commit
853283ca87
@ -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
|
// If a non-Shift Modifier is used we have a non-bound key sequence
|
||||||
// (such as Alt+j = j). This should be omitted (#5575).
|
// (such as Alt+j = j). This should be omitted (#5575).
|
||||||
// FIXME: On Windows, the AltModifier and ShiftModifer is also
|
// FIXME: On Windows, the AltModifier and ShiftModifer is also
|
||||||
// set when AltGr is pressed. Therefore, the check below does not work
|
// set when AltGr is pressed. Therefore, the check below cannot be used
|
||||||
// (see #5575 for details).
|
// since it breaks AltGr-bound symbols (see #5575 for details).
|
||||||
#if !defined(_WIN32)
|
#if !defined(_WIN32)
|
||||||
if ((state & AltModifier || state & ControlModifier || state & MetaModifier)) {
|
if (state & AltModifier || state & ControlModifier || state & MetaModifier) {
|
||||||
current_view_->message(_("Unknown function."));
|
current_view_->message(_("Unknown function."));
|
||||||
current_view_->restartCursor();
|
current_view_->restartCursor();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user