]> git.lyx.org Git - features.git/commitdiff
Compil fix
authorPavel Sanda <sanda@lyx.org>
Thu, 9 Apr 2009 23:36:34 +0000 (23:36 +0000)
committerPavel Sanda <sanda@lyx.org>
Thu, 9 Apr 2009 23:36:34 +0000 (23:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29172 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/TocWidget.cpp

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