mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
cb40be6941
commit
e328435798
@ -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>
|
2001-03-12 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
* gettext.h: fix gettext_init() in --disable-nls
|
* gettext.h: fix gettext_init() in --disable-nls
|
||||||
|
@ -491,8 +491,6 @@ void LyXFont::update(LyXFont const & newfont,
|
|||||||
incSize();
|
incSize();
|
||||||
else if (newfont.size() == DECREASE_SIZE)
|
else if (newfont.size() == DECREASE_SIZE)
|
||||||
decSize();
|
decSize();
|
||||||
else if (newfont.size() == size() && toggleall)
|
|
||||||
setSize(INHERIT_SIZE); // toggle 'back'
|
|
||||||
else
|
else
|
||||||
setSize(newfont.size());
|
setSize(newfont.size());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user