]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.C
Forgot this...
[lyx.git] / 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();
 }