From: Richard Kimberly Heck Date: Sat, 28 Mar 2020 19:15:06 +0000 (-0400) Subject: Remove newlines from shortcut LFUNs. X-Git-Tag: 2.3.5~75 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=df2abff913de7ca9f9c0daad5d7ca27df5b6d9b0;p=features.git Remove newlines from shortcut LFUNs. (cherry picked from commit c5c16830242aa120448b2a226107073ef1703b1d) --- diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index ae0986ecc0..f3e4269f31 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -2902,6 +2902,7 @@ GuiShortcutDialog::GuiShortcutDialog(QWidget * parent) : QDialog(parent) { Ui::shortcutUi::setupUi(this); QDialog::setModal(true); + lfunLE->setValidator(new NoNewLineValidator(lfunLE)); } diff --git a/status.23x b/status.23x index 8789045f5d..c700d20298 100644 --- a/status.23x +++ b/status.23x @@ -82,6 +82,8 @@ What's new - Fix problems when pasting ZERO WIDTH NON-JOINER (bug 11790). +- Remove newlines from LFUNs entered in the shortcut dialog. + * INTERNALS