From: Richard Kimberly Heck Date: Fri, 19 Oct 2018 01:47:22 +0000 (-0400) Subject: Use bold instead of underlining to mark the characters we're matching. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2966 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4b716dd6;p=lyx.git Use bold instead of underlining to mark the characters we're matching. --- diff --git a/src/frontends/qt4/CategorizedCombo.cpp b/src/frontends/qt4/CategorizedCombo.cpp index 200628be32..60d6ba98f0 100644 --- a/src/frontends/qt4/CategorizedCombo.cpp +++ b/src/frontends/qt4/CategorizedCombo.cpp @@ -270,7 +270,7 @@ QString CCItemDelegate::underlineFilter(QString const & s) const return s; QString r(s); QRegExp pattern(charFilterRegExpC(f)); - r.replace(pattern, "\\1"); + r.replace(pattern, "\\1"); return r; } diff --git a/src/frontends/qt4/LayoutBox.cpp b/src/frontends/qt4/LayoutBox.cpp index e82be6e3fa..528e4d06ab 100644 --- a/src/frontends/qt4/LayoutBox.cpp +++ b/src/frontends/qt4/LayoutBox.cpp @@ -301,7 +301,7 @@ QString LayoutItemDelegate::underlineFilter(QString const & s) const return s; QString r(s); QRegExp pattern(charFilterRegExpC(f)); - r.replace(pattern, "\\1"); + r.replace(pattern, "\\1"); return r; }