Fix y co-ordinate for Conglomerate-style inset

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20102 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2007-09-06 14:06:07 +00:00
parent ea87429a23
commit 6089258acc

View File

@ -291,7 +291,7 @@ void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const
case SubLabel: case SubLabel:
case Corners: case Corners:
textx = xx; textx = xx;
texty = y; texty = top;
const_cast<InsetCollapsable *>(this)->setDrawFrame(false); const_cast<InsetCollapsable *>(this)->setDrawFrame(false);
InsetText::draw(pi, textx, texty); InsetText::draw(pi, textx, texty);
const_cast<InsetCollapsable *>(this)->setDrawFrame(true); const_cast<InsetCollapsable *>(this)->setDrawFrame(true);