summaryrefslogtreecommitdiffstats
path: root/src/pagedef.cpp
diff options
context:
space:
mode:
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;
}