Make OK button the default even after various sorts of resets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18584 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2007-05-30 22:01:12 +00:00
parent 87c96d95d9
commit d5c666ceec

View File

@ -133,6 +133,7 @@ void QIncludeDialog::typeChanged(int v)
visiblespaceCB->setEnabled(false);
visiblespaceCB->setChecked(false);
previewCB->setEnabled(false);
previewCB->setChecked(false);
listingsGB->setEnabled(true);
break;
//case Verbatim
@ -143,6 +144,10 @@ void QIncludeDialog::typeChanged(int v)
listingsGB->setEnabled(false);
break;
}
//see this thread
// http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg118471.html
//for the reason this is here.
okPB->setDefault(true);
}