From a4610848dc4f6c1e9e43bc2e140cf8b4e9de922d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 9 Sep 2008 13:20:44 +0000 Subject: [PATCH] * GuiSearch.cpp: - Texts that are entered in the search and replace fields of the GuiSearch dialog are added to the bottom of the ComboBox. With this patch they are added to the top as it probably most intuitive. (patch from Vincent) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26346 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiSearch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiSearch.cpp b/src/frontends/qt4/GuiSearch.cpp index 5564ac567d..97f821dd6f 100644 --- a/src/frontends/qt4/GuiSearch.cpp +++ b/src/frontends/qt4/GuiSearch.cpp @@ -33,7 +33,7 @@ static void uniqueInsert(QComboBox * box, QString const & text) if (box->itemText(i) == text) return; - box->addItem(text); + box->insertItem(0, text); } -- 2.39.5