From c1c2629ffcbf1f75222791f83b446cfc4fc135bb Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sun, 31 Jan 2010 01:44:49 +0000 Subject: [PATCH] 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 --- src/insets/InsetInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp index 28e873ca55..10b16bbef1 100644 --- a/src/insets/InsetInfo.cpp +++ b/src/insets/InsetInfo.cpp @@ -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); } -- 2.39.2