From: Jürgen Spitzmüller Date: Thu, 6 Oct 2005 08:44:03 +0000 (+0000) Subject: small fix for the qcitation dialog X-Git-Tag: 1.6.10~13856 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=32f30b6aeef4d3f639ac0c11ab17a180c5d13f0d;p=features.git small fix for the qcitation dialog git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10526 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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