-----BEGIN PGP SIGNED MESSAGE-----

On Monday 14 October 2002 10:16, Kornel Benko wrote:
> This is confusing ... I get here
>         getSymbolName() -> ä
> but there is no action for it (like self_insert() for Adiaeresis)

I do not know, what is going wrong with the "QKeyEvent".
But changing the code makes it working. Does it break anything? (Not here)


- --- src/frontends/qt2/QLyXKeySym.C      Sun Oct 13 19:31:30 2002
+++ /home/kornel/rpm/BUILD/qt/lyx-1.3.0cvs/src/frontends/qt2/QLyXKeySym.C       Mon 
+Oct 14 11:35:03 2002
@@ -32,6 +32,8 @@
 void QLyXKeySym::set(QKeyEvent * ev)
 {
        key_ = ev->key();
+       if (key_ == 0)
+               key_ = ev->ascii();
        text_ = ev->text();
 }

        Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBPaqehbewfbDGmeqhAQEl8wQAwRVUIGU4/0oGMN1VvVh1is4tpIzOIrJQ
zZ9xoaH32dBy5eKNT5mYPj7N7I3jGn8rbFgIUZ+Mrqt+eP94uQQimdFK4QAd0wZW
BtotGD8EFOJ3gVXnV7JAFXF0UXJA5qVOstTEkFDjpZwZxZW78u6BFFU8nWul0sg0
TUOx+/Mt8Bo=
=4QQ/
-----END PGP SIGNATURE-----

Reply via email to