summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/index.cpp b/src/index.cpp
index bad6e18..1fdbea4 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -828,15 +828,16 @@ void writeAlphabeticalClassList(OutputList &ol)
void writeAlphabeticalIndex(OutputList &ol)
{
- ol.disableAllBut(OutputGenerator::Html);
if (annotatedClasses==0) return;
+ ol.pushGeneratorState();
+ ol.disableAllBut(OutputGenerator::Html);
startFile(ol,"classes.html","Alphabetical index");
startTitle(ol,0);
parseText(ol,Config::projectName+" "+theTranslator->trCompoundIndex());
endTitle(ol,0,0);
writeAlphabeticalClassList(ol);
endFile(ol);
- ol.enableAll();
+ ol.popGeneratorState();
}
//----------------------------------------------------------------------------