mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
altgr fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5327 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e2f908a49c
commit
f907bf7ba5
@ -1,3 +1,8 @@
|
||||
2002-09-22 John Levon <levon@movementarian.org>
|
||||
|
||||
* qlkey.h: make Key_Unknown a modifier, to handle
|
||||
Norbert's Alt Gr
|
||||
|
||||
2002-09-17 John Levon <levon@movementarian.org>
|
||||
|
||||
* QLPainter.C: use dots for dashes because Qt sucks
|
||||
|
@ -20,7 +20,6 @@
|
||||
*/
|
||||
bool q_is_modifier(int qkey)
|
||||
{
|
||||
lyxerr[Debug::GUI] << "check modifier " << qkey << std::endl;
|
||||
switch (qkey) {
|
||||
case Qt::Key_Hyper_L:
|
||||
case Qt::Key_Hyper_R:
|
||||
@ -31,6 +30,10 @@ bool q_is_modifier(int qkey)
|
||||
case Qt::Key_Meta:
|
||||
case Qt::Key_Alt:
|
||||
return true;
|
||||
|
||||
// AltGr becomes Key_Unknown on at least one keyboard
|
||||
case Qt::Key_Unknown:
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user