From f4250078d96baa4ba5d44dbc170a3bc7a18c09d5 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 2 Jan 2003 15:24:42 +0000 Subject: [PATCH] small fix to citation dialog git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5901 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 4 ++++ src/frontends/qt2/QCitationDialog.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 7f92914664..566a79313e 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,7 @@ +2003-01-02 Juergen Spitzmueller + + * QCitationDialog.C: update dialog correctly on search. + 2002-12-26 Jean-Marc Lasgouttes * ui/QMathDialog.ui: diff --git a/src/frontends/qt2/QCitationDialog.C b/src/frontends/qt2/QCitationDialog.C index 07cc5ae193..cd10f1835e 100644 --- a/src/frontends/qt2/QCitationDialog.C +++ b/src/frontends/qt2/QCitationDialog.C @@ -311,5 +311,5 @@ void QCitationDialog::doFind(biblio::Direction dir) int const top = max(found - 5, 1); bibLB->setTopItem(top); bibLB->setSelected(found, true); - slotBibHighlighted(0); + slotBibHighlighted(found); } -- 2.39.5