]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/CommandInset.cpp
Get rid of Inset::setPosCache
[lyx.git] / src / mathed / CommandInset.cpp
index 0cf041c23ea7e59b2ec9fc62cf30690fca02cda5..6b9466481cd44c8a948130ee409208c164ccb1fb 100644 (file)
@@ -58,7 +58,6 @@ Inset * CommandInset::editXY(Cursor & cur, int /*x*/, int /*y*/)
 void CommandInset::draw(PainterInfo & pi, int x, int y) const
 {
        button_.draw(pi, x, y);
-       setPosCache(pi, x, y);
 }