The info field was not updated correctly on search (always showed item 0) 
which makes search quite unusable. This oneliner fixes it.

Please apply.
Jürgen.
Index: src/frontends/qt2/ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/ChangeLog,v
retrieving revision 1.371
diff -u -r1.371 ChangeLog
--- src/frontends/qt2/ChangeLog	2002/12/27 11:08:09	1.371
+++ src/frontends/qt2/ChangeLog	2003/01/02 14:48:35
@@ -1,3 +1,7 @@
+2003-01-02  Juergen Spitzmueller  <[EMAIL PROTECTED]>
+
+	* QCitationDialog.C: update dialog correctly on search.
+
 2002-12-26  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
 	* ui/QMathDialog.ui: 
Index: src/frontends/qt2/QCitationDialog.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/QCitationDialog.C,v
retrieving revision 1.15
diff -u -r1.15 QCitationDialog.C
--- src/frontends/qt2/QCitationDialog.C	2002/12/18 20:48:26	1.15
+++ src/frontends/qt2/QCitationDialog.C	2003/01/02 14:48:36
@@ -311,5 +311,5 @@
 	int const top = max(found - 5, 1);
 	bibLB->setTopItem(top);
 	bibLB->setSelected(found, true);
-	slotBibHighlighted(0);
+	slotBibHighlighted(found);
 }

Reply via email to