repaint the workarea after a font size update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4628 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-07-12 16:42:45 +00:00
parent d42a082c68
commit 6a1e19245d
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* lyxfunc.C: repaint after a font size update
2002-07-15 André Pönitz <poenitz@gmx.net>

View File

@ -1581,6 +1581,7 @@ string const LyXFunc::dispatch(kb_action action, string argument)
// if values really changed...but not very important right now. (Lgb)
// All visible buffers will need resize
owner->view()->resize();
owner->view()->repaint();
// We also need to empty the textcache so that
// the buffer will be formatted correctly after
// a zoom change.