From d5c666ceec9e4906a08f5646f2388ae3efdf3bf0 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 30 May 2007 22:01:12 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/QInclude.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/frontends/qt4/QInclude.cpp b/src/frontends/qt4/QInclude.cpp index d5d3ea430a..31aaa115e6 100644 --- a/src/frontends/qt4/QInclude.cpp +++ b/src/frontends/qt4/QInclude.cpp @@ -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); }