Compil fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29172 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-04-09 23:36:34 +00:00
parent 2d40854a46
commit d47e87f92f

View File

@ -106,8 +106,9 @@ void TocWidget::doDispatch(Cursor & cur, FuncRequest const & cmd)
if (current_type_ == "label") if (current_type_ == "label")
inset = dit.nextInset(); inset = dit.nextInset();
FuncRequest tmpcmd(cmd);
if (inset) if (inset)
inset->dispatch(cur, FuncRequest(cmd)); inset->dispatch(cur, tmpcmd);
} }