From 00d0c182807e812b83b391e2d67bc68035312a23 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Mon, 18 Jun 2007 15:39:52 +0000 Subject: [PATCH] * 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 --- src/frontends/qt4/GuiWorkArea.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; }