It is better to enumerate all possibilities. Now we have a list of
special characters that do not have a tooltip.
This commit is contained in:
Jean-Marc Lasgouttes 2017-04-25 19:03:20 +02:00
parent 58a4cd3082
commit 91507284cb

View File

@ -108,7 +108,13 @@ docstring InsetSpecialChar::toolTip(BufferView const &, int, int) const
case NOBREAKDASH: case NOBREAKDASH:
message = from_ascii("Protected Hyphen (SHY)"); message = from_ascii("Protected Hyphen (SHY)");
break; break;
default: case LDOTS:
case MENU_SEPARATOR:
case PHRASE_LYX:
case PHRASE_TEX:
case PHRASE_LATEX2E:
case PHRASE_LATEX:
// no tooltip for these ones.
break; break;
} }
return message; return message;