fix bug 866

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6839 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-04-23 16:59:45 +00:00
parent c7a6b81cea
commit 51de4d6b81
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-04-23 John Levon <levon@movementarian.org>
* QCitationDialog.C: close dialog on return in listbox
(bug 866)
2003-04-23 John Levon <levon@movementarian.org>
* QPrefs.C:

View File

@ -56,6 +56,7 @@ QCitationDialog::QCitationDialog(QCitation * form)
connect(add_->availableLB, SIGNAL(selected(QListBoxItem *)), this, SLOT(addCitation()));
connect(add_->availableLB, SIGNAL(selected(QListBoxItem *)), add_, SLOT(accept()));
connect(add_->addPB, SIGNAL(clicked()), this, SLOT(addCitation()));
connect(selectedLB, SIGNAL(returnPressed(QListBoxItem *)), form, SLOT(slotOK()));
}