small fix to the locking nightmare

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8031 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2003-11-04 11:17:20 +00:00
parent eb1bad7210
commit 3a36ee90ff
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-11-04 Alfredo Braunstein <abraunst@libero.it>
* insettabular.C (lockInsetInInset): small fix
2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
* insettext.C (priv_dispatch): some DispatchResult type cleanup,

View File

@ -450,9 +450,14 @@ bool InsetTabular::lockInsetInInset(BufferView * bv, UpdatableInset * inset)
resetPos(bv);
return true;
}
actcell = i;
in->dispatch(FuncRequest(bv, LFUN_INSET_EDIT));
return the_locking_inset->lockInsetInInset(bv, inset);
if (in->lockInsetInInset(bv, inset)) {
actcell = i;
the_locking_inset = in;
locked = true;
resetPos(bv);
in->dispatch(FuncRequest(bv, LFUN_INSET_EDIT));
return true;
}
}
return false;
}