From: Stefan Schimanski Date: Mon, 18 Jun 2007 15:39:52 +0000 (+0000) Subject: * update cursor position on resize _after_ drawing. Because before X-Git-Tag: 1.6.10~9350 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=00d0c182807e812b83b391e2d67bc68035312a23;p=lyx.git * 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 --- diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 5a8bb268e3..a6c08b1eff 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -561,6 +561,8 @@ void GuiWorkArea::paintEvent(QPaintEvent * ev) screen_ = QPixmap(viewport()->width(), viewport()->height()); resizeBufferView(); updateScreen(); + WorkArea::hideCursor(); + WorkArea::showCursor(); need_resize_ = false; }