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