From: Abdelrazak Younes Date: Fri, 3 Nov 2006 00:21:48 +0000 (+0000) Subject: Forgot this... X-Git-Tag: 1.6.10~12079 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2fe0529df8a06082d2aae38fd24b7de5ea18b10b;hp=352ce035b9453e46280078c60e7e4ecae783dd0d;p=lyx.git Forgot this... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15698 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BufferView.C b/src/BufferView.C index 411d29b96d..f092691129 100644 --- a/src/BufferView.C +++ b/src/BufferView.C @@ -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(); }