small fix to toc navigation inside branches

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7991 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2003-10-27 19:28:19 +00:00
parent c8fa9fe6c8
commit c24f5b4874
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-10-27 Alfredo Braunstein <abraunst@libero.it>
* lyxfunc.C (dispatch): small fix to toc navigation inside branches
2003-10-27 André Pönitz <poenitz@gmx.net>
* lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK

View File

@ -1404,7 +1404,7 @@ void LyXFunc::dispatch(FuncRequest const & func, bool verbose)
LyXText * lt = view()->getLyXText();
if (par->inInset()) {
FuncRequest cmd(view(), LFUN_INSET_EDIT, "left");
par->inInset()->dispatch(cmd);
par.inset()->dispatch(cmd);
lt = par->inInset()->getLyXText(view());
}