Fix bug #5446: Cursor gets stuck in InsetInfo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33285 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-01-31 01:44:49 +00:00
parent b7ff36304d
commit c1c2629ffc

View File

@ -93,8 +93,8 @@ InsetInfo::InsetInfo(Buffer * buf, string const & name)
Inset * InsetInfo::editXY(Cursor & cur, int x, int y)
{
cur.push(*this);
return InsetCollapsable::editXY(cur, x, y);
// do not allow the cursor to be set in this Inset
return Inset::editXY(cur, x, y);
}