fix toggling of font size

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@1749 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-03-13 11:45:41 +00:00
parent 4be2974fda
commit 3fae06bc80
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>
* src/lyxfont.C (update): don't honor toggleall for font size.
2001-03-06 Chanop Silpa-Anan <chanop@debian.org>
* lib/encodings:

View File

@ -279,8 +279,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());
}