Forgot this...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15698 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-11-03 00:21:48 +00:00
parent 352ce035b9
commit 2fe0529df8

View File

@ -982,13 +982,10 @@ void BufferView::workAreaResize(int width, int height)
width_ = width;
height_ = height;
if (buffer_ && widthChange) {
// The WorkArea content needs a resize
if (buffer_)
resize();
}
if (widthChange || heightChange)
update();
update();
}