]> git.lyx.org Git - features.git/commitdiff
Use bold instead of underlining to mark the characters we're matching.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 19 Oct 2018 01:47:22 +0000 (21:47 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 19 Oct 2018 01:49:31 +0000 (21:49 -0400)
src/frontends/qt4/CategorizedCombo.cpp
src/frontends/qt4/LayoutBox.cpp

index 200628be3209679ac0d2f9a9b71ef65edbb3c415..60d6ba98f06d37e4461103efdb276f645a6980f7 100644 (file)
@@ -270,7 +270,7 @@ QString CCItemDelegate::underlineFilter(QString const & s) const
                return s;
        QString r(s);
        QRegExp pattern(charFilterRegExpC(f));
-       r.replace(pattern, "<u>\\1</u>");
+       r.replace(pattern, "<b>\\1</b>");
        return r;
 }
 
index e82be6e3fa57da67471f8534fe698dd4508b4724..528e4d06ab9adabe4388c1e4ce4cca82c7da77e1 100644 (file)
@@ -301,7 +301,7 @@ QString LayoutItemDelegate::underlineFilter(QString const & s) const
                return s;
        QString r(s);
        QRegExp pattern(charFilterRegExpC(f));
-       r.replace(pattern, "<u>\\1</u>");
+       r.replace(pattern, "<b>\\1</b>");
        return r;
 }