From kde-commits Tue Apr 19 18:59:57 2005 From: =?utf-8?q?Pascal=20L=C3=A9tourneau?= Date: Tue, 19 Apr 2005 18:59:57 +0000 To: kde-commits Subject: kdelibs/kdeui Message-Id: <20050419185957.8062A650 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111393720917295 CVS commit by pletourn: Don't close the completion box after clicking on the scrollbar when currentItem() != 0 M +1 -1 kcompletionbox.cpp 1.86 --- kdelibs/kdeui/kcompletionbox.cpp #1.85:1.86 @@ -235,5 +235,5 @@ bool KCompletionBox::eventFilter( QObjec hide(); - if ( !d->emitSelected && currentItem() ) + if ( !d->emitSelected && currentItem() && !::qt_cast(o) ) { emit highlighted( currentText() );