fix invalid cursor when opening collapsables

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9226 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2004-11-11 08:18:30 +00:00
parent 44544dc0e4
commit 22e5c2519c
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
* insetcollapsable.C (priv_dispatch): do not push the inset to the
cursor in dispatch
2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* ExternalSupport.C, insetgraphics.C:

View File

@ -287,8 +287,8 @@ void InsetCollapsable::priv_dispatch(LCursor & cur, FuncRequest & cmd)
case Collapsed:
lyxerr << "InsetCollapsable::lfunMouseRelease 1" << endl;
setStatus(Open);
edit(cur, true);
open();
InsetText::edit(cur, true);
cur.bv().cursor() = cur;
break;