fix toggling of font size

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1750 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-03-13 11:45:42 +00:00
parent cb40be6941
commit e328435798
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lyxfont.C (update): don't honor toggleall on font size.
2001-03-12 John Levon <moz@compsoc.man.ac.uk>
* gettext.h: fix gettext_init() in --disable-nls

View File

@ -491,8 +491,6 @@ void LyXFont::update(LyXFont const & newfont,
incSize();
else if (newfont.size() == DECREASE_SIZE)
decSize();
else if (newfont.size() == size() && toggleall)
setSize(INHERIT_SIZE); // toggle 'back'
else
setSize(newfont.size());
}