mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Let Meta be an alias for Alt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14404 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0961bc2d97
commit
66d51d71f9
@ -36,7 +36,7 @@ key_modifier::state q_key_state(Qt::ButtonState state)
|
||||
k |= key_modifier::ctrl;
|
||||
if (state & Qt::ShiftButton)
|
||||
k |= key_modifier::shift;
|
||||
if (state & Qt::AltButton)
|
||||
if (state & Qt::AltButton || state & Qt::MetaButton)
|
||||
k |= key_modifier::alt;
|
||||
return k;
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ key_modifier::state q_key_state(Qt::ButtonState state)
|
||||
k |= key_modifier::ctrl;
|
||||
if (state & Qt::ShiftModifier)
|
||||
k |= key_modifier::shift;
|
||||
if (state & Qt::AltModifier)
|
||||
if (state & Qt::AltModifier || state & Qt::MetaModifier)
|
||||
k |= key_modifier::alt;
|
||||
return k;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user