mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
5a6845779e
commit
8e87719c27
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user