]> git.lyx.org Git - lyx.git/commitdiff
* update cursor position on resize _after_ drawing. Because before
authorStefan Schimanski <sts@lyx.org>
Mon, 18 Jun 2007 15:39:52 +0000 (15:39 +0000)
committerStefan Schimanski <sts@lyx.org>
Mon, 18 Jun 2007 15:39:52 +0000 (15:39 +0000)
  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

index 5a8bb268e317310a7968ff5a6a265318439f80c3..a6c08b1eff58539c6c5d3127bc4835201189ca5c 100644 (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;
        }