[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: kdelibs/kdeui
From: Carsten Pfeiffer <carpdjih () mailbox ! zrz ! tu-berlin ! de>
Date: 2003-10-27 23:11:16
[Download RAW message or body]
On Monday 27 October 2003 15:22, Laurent Montel wrote:
I suppose you wanted to fix the completion in khtml? The bug is there, not in
KLineEdit (i.e. this commit is wrong). The shortcuts are handled in
KCompletionBox' eventFilter already.
> when we select a item into completion popupmenu and we
> press enter, active klineedit enter
>
>
> M +5 -2 klineedit.cpp 1.166
>
>
> --- kdelibs/kdeui/klineedit.cpp #1.165:1.166
> @@ -533,5 +531,10 @@ void KLineEdit::keyPressEvent( QKeyEvent
> cursorNotAtEnd=true;
> }
> + if ( e->key() == Key_Return || e->key() == Key_Enter )
> + {
> + if ( d->completionBox && d->completionBox->isVisible())
> + d->completionBox->hide();
>
> + }
> uint selectedLength=selectedText().length();
Cheers
Carsten Pfeiffer
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic