]> git.lyx.org Git - lyx.git/commitdiff
* fix for r27091: draw the newly created pixmap. The reordering of the code has remov...
authorStefan Schimanski <sts@lyx.org>
Mon, 3 Nov 2008 07:40:18 +0000 (07:40 +0000)
committerStefan Schimanski <sts@lyx.org>
Mon, 3 Nov 2008 07:40:18 +0000 (07:40 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27227 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiPainter.cpp

index bda52f189049d209e71c050e24665e8db94da29a..0122475a7f05a83ad0d57225716498e319112000 100644 (file)
@@ -405,6 +405,10 @@ int GuiPainter::text(int x, int y, docstring const & s,
                        //LYXERR(Debug::PAINTING, "h=" << h << "  mA=" << mA << "  mD=" << mD
                        //      << "  w=" << w << "  lb=" << lb << "  tw=" << textwidth
                        //      << "  rb=" << rb);
+
+                       // Draw the new cached pixmap.
+                       drawPixmap(x + lb, y - mA, pm);
+
                        return textwidth;
                }
        }