mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +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()) {
|
if (sym.empty()) {
|
||||||
lyxerr[Debug::KEY] << "sym empty in getSymbolName()" << endl;
|
lyxerr[Debug::KEY] << "sym empty in getSymbolName()" << endl;
|
||||||
sym = text_.latin1();
|
if (!text_.isEmpty())
|
||||||
|
sym = text_.latin1();
|
||||||
}
|
}
|
||||||
lyxerr[Debug::KEY] << "getSymbolName() -> " << sym << endl;
|
lyxerr[Debug::KEY] << "getSymbolName() -> " << sym << endl;
|
||||||
return sym;
|
return sym;
|
||||||
|
Loading…
Reference in New Issue
Block a user