-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 after some investigation , it seems the problem is due to validateAndSet(= ) it contains a deselect() which does not look really usefull ;p it works here, someone try it elsewhere ? cheers, Mik Index: qlineedit.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/kde/qt-copy/src/widgets/qlineedit.cpp,v retrieving revision 1.40 diff -u -3 -p -r1.40 qlineedit.cpp - --- qlineedit.cpp 2002/01/26 20:49:26 1.40 +++ qlineedit.cpp 2002/02/19 18:49:59 @@ -1777,7 +1777,7 @@ bool QLineEdit::validateAndSet( const QS d->cursor->setIndex( d->parag->length() - 1 ); if ( hasFocus() ) setMicroFocusHint( d->cursor->x() - d->offset, d->cursor-= >y(), 0, d->cursor->parag()->rect().height(), TRUE ); - - deselect(); + //deselect(); update(); d->cursor->setIndex( newPos ); // put the cursor back where i= ts meant to be before emitting the signal if ( oldText !=3D text ) { - -- Mickael Marchand Engineer student, Ecole des Mines de Douai - France KDE Developer, http://www.kde.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8cp63yOYzc4nQ8j0RAi88AKCXH/b5qy/cgI1dSycJIZcuwJVdTwCgk3DV Wtibh55LyqhvPPym9carkZc=3D =3DWb8G -----END PGP SIGNATURE-----