* update cursor position on resize _after_ drawing. Because before

the coordinate cache of the math inset is not valid and InsetMathNest
  depends on that to compute the cursor position.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18816 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2007-06-18 15:39:52 +00:00
parent 3f3fd7e6f1
commit 00d0c18280

View File

@ -561,6 +561,8 @@ void GuiWorkArea::paintEvent(QPaintEvent * ev)
screen_ = QPixmap(viewport()->width(), viewport()->height());
resizeBufferView();
updateScreen();
WorkArea::hideCursor();
WorkArea::showCursor();
need_resize_ = false;
}