]> git.lyx.org Git - features.git/commitdiff
Update cursor and scrollbar after resize.
authorPavel Sanda <sanda@lyx.org>
Tue, 19 Feb 2008 21:27:18 +0000 (21:27 +0000)
committerPavel Sanda <sanda@lyx.org>
Tue, 19 Feb 2008 21:27:18 +0000 (21:27 +0000)
Fixes bug 4044.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23068 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.cpp

index 05489a34d7a796f501ba4253708ce2e228a0b655..9236ae8d788f2b188b379c368f95bbb39ad99adf 100644 (file)
@@ -1373,6 +1373,7 @@ void BufferView::resize(int width, int height)
                updateScrollbar();
                showCursor();
        }
+       processUpdateFlags(Update::Force | Update::FitCursor);
 }