[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: QLineEdit
From: Scott Wheeler <scott () slackorama ! net>
Date: 2002-02-19 20:55:36
[Download RAW message or body]
No, that didn't do it for me. I'm curious where you tracked that from, the
only function that it's used for in qlineedit.cpp is insert(). I'll keep
looking too.
-Scott
On Tuesday 19 February 2002 01:51 pm, Mickael Marchand wrote:
> 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
> ===================================================================
> 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 its
> meant to be before emitting the signal
> if ( oldText != text ) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic