]> git.lyx.org Git - features.git/blobdiff - src/toc.C
the FuncRequest changes
[features.git] / src / toc.C
index 8c8c92dbca4efc379938d20630f461478f6c63e5..e0398fb09d208bbf1f4032d86938a17ea6300169 100644 (file)
--- a/src/toc.C
+++ b/src/toc.C
@@ -48,7 +48,7 @@ string const TocItem::asString() const
 void TocItem::goTo(LyXView & lv_) const
 {
        string const tmp = tostr(par->id());
-       lv_.getLyXFunc()->dispatch(LFUN_GOTO_PARAGRAPH, tmp, false);
+       lv_.getLyXFunc()->dispatch(FuncRequest(LFUN_GOTO_PARAGRAPH, tmp));
 }