small fix for the qcitation dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10526 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2005-10-06 08:44:03 +00:00
parent 7c67a37f53
commit 32f30b6aee
2 changed files with 7 additions and 1 deletions

View 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

View 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