Skip to content

Commit

Permalink
Table of contents breaks when documentation spans multiple comment bl…
Browse files Browse the repository at this point in the history
…ocks with same @page

Based on the question in the doxygen users forum:
http://doxygen.10944.n7.nabble.com/Table-of-contents-breaks-when-documentation-spans-multiple-comment-blocks-with-same-page-td7571.html

Fixed by means of that when toc is set once for a page it remains set for that page, otherwise the last page has to have the @TableofContents command (or all @page commands)
  • Loading branch information
albert-github committed Apr 9, 2016
1 parent 4c03fcc commit 7f7f727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagedef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,6 @@ void PageDef::setNestingLevel(int l)

void PageDef::setShowToc(bool b)
{
m_showToc = b;
m_showToc |= b;
}

0 comments on commit 7f7f727

Please sign in to comment.