* src/Text2.cpp: fix error message (do not refer to old, non-existing menu item);

I wonder whether this message is used at all, as it does not occur when
	runnig font-free-apply after program start


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18149 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2007-05-01 10:25:46 +00:00
parent 84b9666d13
commit 8dcc7cf00e

View File

@ -537,8 +537,7 @@ void Text::toggleFree(Cursor & cur, Font const & font, bool toggleall)
// If the mask is completely neutral, tell user // If the mask is completely neutral, tell user
if (font == Font(Font::ALL_IGNORE)) { if (font == Font(Font::ALL_IGNORE)) {
// Could only happen with user style // Could only happen with user style
cur.message(_("No font change defined. " cur.message(_("No font change defined."));
"Use Character under the Layout menu to define font change."));
return; return;
} }