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-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0a0850bb6eba7d6adedf2642ad241b5f313ba35a;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); }