diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-07-22 15:19:56 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2018-07-22 15:19:56 (GMT) |
commit | 185d6abdc832e7dd66183a2154a13a546414b96f (patch) | |
tree | 2e37e5d4a6d3250e5b0d5ca02c3e57ba4458ed41 /src/index.cpp | |
parent | 982fce9e021e5359ec2572cbbb815a47bc822e70 (diff) | |
download | Doxygen-185d6abdc832e7dd66183a2154a13a546414b96f.zip Doxygen-185d6abdc832e7dd66183a2154a13a546414b96f.tar.gz Doxygen-185d6abdc832e7dd66183a2154a13a546414b96f.tar.bz2 |
Moved local toc data into a separate type for better encapsulation
Diffstat (limited to 'src/index.cpp')
-rw-r--r-- | src/index.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.cpp b/src/index.cpp index b403de3..3c231fc 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -3883,9 +3883,9 @@ static void writeIndex(OutputList &ol) if (Doxygen::mainPage) { Doxygen::insideMainPage=TRUE; - if (Doxygen::mainPage->showToc() && Doxygen::mainPage->hasSections()) + if (Doxygen::mainPage->localToc().isHtmlEnabled() && Doxygen::mainPage->hasSections()) { - Doxygen::mainPage->writeToc(ol,Doxygen::mainPage->showToc(),Doxygen::mainPage->showTocLevel()); + Doxygen::mainPage->writeToc(ol,Doxygen::mainPage->localToc()); } ol.startTextBlock(); |