]> git.lyx.org Git - lyx.git/commitdiff
Forgot this...
authorAbdelrazak Younes <younes@lyx.org>
Fri, 3 Nov 2006 00:21:48 +0000 (00:21 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 3 Nov 2006 00:21:48 +0000 (00:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15698 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.C

index 411d29b96d223eb71e5f66a8cf8d6705df7abde3..f09269112951c3a995a4ed7c8b79d6ee7cd15d26 100644 (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();
 }