From: Juergen Spitzmueller Date: Thu, 20 Dec 2018 14:12:53 +0000 (+0100) Subject: Handle GuiParagraph for OK default button issue as well X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2854 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7fae26c9a7249a17f99fb2d2b67d092d2765996c;p=features.git Handle GuiParagraph for OK default button issue as well --- diff --git a/src/frontends/qt4/GuiParagraph.cpp b/src/frontends/qt4/GuiParagraph.cpp index b7e1050a3f..49338392cc 100644 --- a/src/frontends/qt4/GuiParagraph.cpp +++ b/src/frontends/qt4/GuiParagraph.cpp @@ -304,6 +304,8 @@ void GuiParagraph::updateView() linespacingValue->setText(QString()); linespacingValue->setEnabled(false); } + // Somewhere in the chain this can lose default status (#11417) + buttonBox->button(QDialogButtonBox::Ok)->setDefault(true); }