Fix click-on-closed-collapsable-inset-crash bug

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9943 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2005-05-13 08:18:03 +00:00
parent 125b960c92
commit 33f38a6112
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-05-13 Martin Vermeer <martin.vermeer@hut.fi>
* insetcollapsable.C (doDispatch): fix
click-on-closed-collapsable-inset-crash bug.
2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
* insettabular.C (pasteSelection):

View File

@ -308,6 +308,7 @@ void InsetCollapsable::doDispatch(LCursor & cur, FuncRequest & cmd)
case Collapsed:
lyxerr << "InsetCollapsable::lfunMouseRelease 1" << endl;
setStatus(cur, Open);
edit(cur, true);
cur.bv().cursor() = cur;
break;