try and stop norbert's crash

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5778 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-12-04 17:40:16 +00:00
parent 5a6845779e
commit 8e87719c27

View File

@ -63,7 +63,8 @@ string QLyXKeySym::getSymbolName() const
if (sym.empty()) {
lyxerr[Debug::KEY] << "sym empty in getSymbolName()" << endl;
sym = text_.latin1();
if (!text_.isEmpty())
sym = text_.latin1();
}
lyxerr[Debug::KEY] << "getSymbolName() -> " << sym << endl;
return sym;