[immodule-qt] qtextedit should setModified when received IMEnd Event

LiuCougar liucougar at gmail.com
Sat Jul 17 04:08:54 EEST 2004


Hi all,

This is the patch. I think this should be fixed

Do you think this is neccesary?

Regards,
Cougar

Index: widgets/qtextedit.cpp
===================================================================
--- widgets/qtextedit.cpp       (revision 17)
+++ widgets/qtextedit.cpp       (working copy)
@@ -1681,6 +1681,9 @@
         cursor->setIndex( d->preeditStart );
         insert( e->text() );
     }
+    if ( e->text().length() )
+        setModified(TRUE);
+
     d->preeditStart = d->preeditLength = -1;

     repaintChanged();



More information about the immodule-qt mailing list