]> git.lyx.org Git - features.git/commitdiff
small fix for the qcitation dialog
authorJürgen Spitzmüller <spitz@lyx.org>
Thu, 6 Oct 2005 08:44:03 +0000 (08:44 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Thu, 6 Oct 2005 08:44:03 +0000 (08:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10526 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt2/ChangeLog
src/frontends/qt2/QCitationDialog.C

index 833aedb6aaa45063ae00bf6188feab3062d4d55f..59a10696ba8e7846742bcef3fdd4ab18e7f4cfdf 100644 (file)
@@ -1,3 +1,8 @@
+2005-10-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * QCitationDialog.C (openFind): ensure the main citation dialog
+       is visible.
+
 2005-10-02  Martin Vermeer  <martin.vermeer@hut.fi>
 
        * QToc.C: fix bug 2038  
index ed117f589ed12a41aca299601e74e49167c17a2c..f34ff10e14c240ae5a4025123378a5efaec7033f 100644 (file)
@@ -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