]> git.lyx.org Git - features.git/commitdiff
Handle GuiParagraph for OK default button issue as well
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 20 Dec 2018 14:12:53 +0000 (15:12 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 20 Dec 2018 14:12:53 +0000 (15:12 +0100)
src/frontends/qt4/GuiParagraph.cpp

index b7e1050a3f5386d1d1f32f56d3f5ba6e0c685524..49338392cc6e6133c4f43adb80c53d4706ad5b25 100644 (file)
@@ -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);
 }