From: Richard Kimberly Heck Date: Sat, 28 Mar 2020 19:15:06 +0000 (-0400) Subject: Remove newlines from shortcut LFUNs. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~1063 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c5c16830242aa120448b2a226107073ef1703b1d;p=features.git Remove newlines from shortcut LFUNs. --- diff --git a/src/frontends/qt/GuiPrefs.cpp b/src/frontends/qt/GuiPrefs.cpp index 2777300b6a..d716d8544a 100644 --- a/src/frontends/qt/GuiPrefs.cpp +++ b/src/frontends/qt/GuiPrefs.cpp @@ -2828,6 +2828,7 @@ GuiShortcutDialog::GuiShortcutDialog(QWidget * parent) : QDialog(parent) { Ui::shortcutUi::setupUi(this); QDialog::setModal(true); + lfunLE->setValidator(new NoNewLineValidator(lfunLE)); }