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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/widgets
From:       David Faure <faure () kde ! org>
Date:       2008-05-07 10:45:32
Message-ID: 1210157132.645245.30592.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 804995 by dfaure:

Fix "completion rotation" bug introduced by Dawit in 2003 (r231422) -- ah, the good old days :)
Noticed by Kelvie Wong, thanks!


 M  +2 -2      klineedit.cpp  


--- trunk/KDE/kdelibs/kdeui/widgets/klineedit.cpp #804994:804995
@@ -387,9 +387,9 @@
        QString input;
 
        if (type == KCompletionBase::PrevCompletionMatch)
-          comp->previousMatch();
+          input = comp->previousMatch();
        else
-          comp->nextMatch();
+          input = comp->nextMatch();
 
        // Skip rotation if previous/next match is null or the same text
        if ( input.isEmpty() || input == displayText() )
[prev in list] [next in list] [prev in thread] [next in thread] 

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