summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-04-09 16:39:34 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-04-09 16:39:34 (GMT)
commit7f7f7273f816335d556668b86aa99d05f7f09992 (patch)
tree85105f10308b759d690ed2c98d9d8efe5492cdcc /src/pagedef.cpp
parent4c03fcc7b11fcf57e40fe1568132e62e7c4d5ef1 (diff)
downloadDoxygen-7f7f7273f816335d556668b86aa99d05f7f09992.zip
Doxygen-7f7f7273f816335d556668b86aa99d05f7f09992.tar.gz
Doxygen-7f7f7273f816335d556668b86aa99d05f7f09992.tar.bz2
Table of contents breaks when documentation spans multiple comment blocks 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)
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r--src/pagedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index 1abcb0d..6146a3c 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -308,6 +308,6 @@ void PageDef::setNestingLevel(int l)
void PageDef::setShowToc(bool b)
{
- m_showToc = b;
+ m_showToc |= b;
}