]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_decorationinset.C
Make Helge happy: no more crash on arrow up/down in math macro
[lyx.git] / src / mathed / math_decorationinset.C
index 3019710a6e31292f9de9ed229f711323b100ea70..eddbbf7ce17b4654616df51d1a079ecd04692254 100644 (file)
@@ -128,6 +128,7 @@ void MathDecorationInset::draw(PainterInfo & pi, int x, int y) const
                mathed_draw_deco(pi, x + 1 + (cell(0).width() - dw_) / 2,
                        y + dy_, dw_, dh_, key_->name);
        drawMarkers(pi, x, y);
+       setPosCache(pi, x, y);
 }