On Sun, Oct 13, 2002 at 06:41:57PM +0100, Kornel Benko wrote:

> 
> Unfortunately not so, that I could insert "ä"

Winging it here, but try this.

Index: QLyXKeySym.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/QLyXKeySym.C,v
retrieving revision 1.9
diff -u -r1.9 QLyXKeySym.C
--- QLyXKeySym.C        24 Sep 2002 13:57:08 -0000      1.9
+++ QLyXKeySym.C        13 Oct 2002 18:09:03 -0000
@@ -61,8 +61,11 @@
        string sym(qkey_to_string(key_));
 
        if (sym.empty()) {
-               lyxerr[Debug::KEY] << "sym empty in getSymbolName()" << endl;
-               sym = text_.latin1();
+               lyxerr[Debug::KEY] << "sym empty in getSymbolName() for key " << key_ 
+<< endl;
+               if (text_.length())
+                       sym = text_.latin1();
+               else
+                       sym = "none";
        }
        lyxerr[Debug::KEY] << "getSymbolName() -> " << sym << endl;
        return sym;

Reply via email to