This patch avoids duplicate insertions in the search combobox (QT). 
Insertions seem to be already handled by the widget.

Alfredo
Index: QSearchDialog.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/QSearchDialog.C,v
retrieving revision 1.7
diff -u -r1.7 QSearchDialog.C
--- QSearchDialog.C	2002/10/20 01:48:28	1.7
+++ QSearchDialog.C	2002/12/12 11:51:02
@@ -71,7 +71,6 @@
 		caseCB->isChecked(),
 		wordsCB->isChecked(),
 		backwardsCB->isChecked());
-	findCO->insertItem(findCO->currentText());
 }
 
 
@@ -83,7 +82,6 @@
 		caseCB->isChecked(),
 		wordsCB->isChecked(),
 		false);
-	replaceCO->insertItem(replaceCO->currentText());
 }

Reply via email to