mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
two small fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8040 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7871470eb0
commit
9a4ff503a7
@ -1,3 +1,8 @@
|
||||
2003-11-05 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
* insetcollapsable.C (edit): add open() all
|
||||
* insettext.C (edit): add setViewCache call
|
||||
|
||||
2003-11-04 André Pönitz <poenitz@gmx.net>
|
||||
|
||||
* inset.h (edit): move locking code from dispatch() to edit()
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user