[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kdeui
From:       Pascal Létourneau <pletourn () globetrotter ! net>
Date:       2005-04-19 18:59:57
Message-ID: 20050419185957.8062A650 () office ! kde ! org
[Download RAW message or body]

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<QScrollBar*>(o) )
         {
           emit highlighted( currentText() );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic