mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
don't crash when you press Alt Gr etc. :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4755 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4bf9542812
commit
907671d259
@ -1,3 +1,8 @@
|
||||
2002-07-22 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* QLyXKeySym.C: return 0 when text_ is empty
|
||||
for getISOEncoded()
|
||||
|
||||
2002-07-22 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* QCommandBuffer.C: probably compile fix
|
||||
|
@ -56,6 +56,8 @@ string QLyXKeySym::getSymbolName() const
|
||||
|
||||
char QLyXKeySym::getISOEncoded() const
|
||||
{
|
||||
if (!text_.length())
|
||||
return 0;
|
||||
// FIXME
|
||||
return text_.latin1()[0];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user