Fix drawing of collapsable inset without button.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20082 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-09-05 21:52:12 +00:00
parent d4bf8e0a21
commit d9d7af7019

View File

@ -283,7 +283,7 @@ void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const
break; break;
case NoButton: case NoButton:
textx = xx; textx = xx;
texty = y; texty = top;
InsetText::draw(pi, textx, texty); InsetText::draw(pi, textx, texty);
break; break;
case SubLabel: case SubLabel: