[Bug 3461] Make escape key trigger a reset of the dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18381 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2007-05-17 12:11:56 +00:00
parent fea3a375a4
commit 98554422d1

View File

@ -51,6 +51,7 @@ QRefDialog::QRefDialog(QRef * form)
connect(applyPB, SIGNAL(clicked()), form_, SLOT(slotApply()));
connect(closePB, SIGNAL(clicked()), form_, SLOT(slotClose()));
connect(closePB, SIGNAL(clicked()), this, SLOT(reset_dialog()));
connect(this, SIGNAL(rejected()), this, SLOT(reset_dialog()));
connect(typeCO, SIGNAL(activated(int)),
this, SLOT(changed_adaptor()));