diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 3e755a7c88..6a5a301589 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,8 @@ +2003-11-05 Alfredo Braunstein + + * insetcollapsable.C (edit): add open() all + * insettext.C (edit): add setViewCache call + 2003-11-04 André Pönitz * inset.h (edit): move locking code from dispatch() to edit() diff --git a/src/insets/insetcollapsable.C b/src/insets/insetcollapsable.C index 1b17118234..5d148b4fd0 100644 --- a/src/insets/insetcollapsable.C +++ b/src/insets/insetcollapsable.C @@ -281,6 +281,7 @@ void InsetCollapsable::edit(BufferView * bv, bool left) lyxerr << "InsetCollapsable: can't lock" << endl; inset.edit(bv, left); first_after_edit = true; + open(bv); } /* diff --git a/src/insets/insettext.C b/src/insets/insettext.C index 885c9f91a8..0b04019abc 100644 --- a/src/insets/insettext.C +++ b/src/insets/insettext.C @@ -576,6 +576,8 @@ void InsetText::lfunMouseMotion(FuncRequest const & cmd) void InsetText::edit(BufferView * bv, bool left) { + setViewCache(bv); + if (!bv->lockInset(this)) { lyxerr[Debug::INSETS] << "Cannot lock inset" << endl; return;