From 32f30b6aeef4d3f639ac0c11ab17a180c5d13f0d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Thu, 6 Oct 2005 08:44:03 +0000 Subject: [PATCH] small fix for the qcitation dialog git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10526 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 5 +++++ src/frontends/qt2/QCitationDialog.C | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 833aedb6aa..59a10696ba 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,8 @@ +2005-10-06 Jürgen Spitzmüller + + * QCitationDialog.C (openFind): ensure the main citation dialog + is visible. + 2005-10-02 Martin Vermeer * QToc.C: fix bug 2038 diff --git a/src/frontends/qt2/QCitationDialog.C b/src/frontends/qt2/QCitationDialog.C index ed117f589e..f34ff10e14 100644 --- a/src/frontends/qt2/QCitationDialog.C +++ b/src/frontends/qt2/QCitationDialog.C @@ -82,7 +82,8 @@ void QCitationDialog::openFind() if (form_->readOnly()) return; - if (selectedLB->count() == 0 && add_->availableLB->count() != 0){ + if (isVisible() && selectedLB->count() == 0 + && add_->availableLB->count() != 0){ // open the find dialog add(); // and let the user press ok after a selection -- 2.39.2