From kde-commits Thu Nov 21 01:06:15 2002 From: David Faure Date: Thu, 21 Nov 2002 01:06:15 +0000 To: kde-commits Subject: kdelibs/kdeui X-MARC-Message: https://marc.info/?l=kde-commits&m=103784088617296 CVS commit by faure: Important fix for addToHistory(): restore the current text (doing setCurrentItem(0)) if we messed up with it. This fixes the most common usage of KHistoryCombo: calling addToHistory(currentText()), like e.g. KFindDialog does. Patch approved by Carsten Pfeiffer. M +10 -2 kcombobox.cpp 1.161