summaryrefslogtreecommitdiffstats
path: root/src/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/context.cpp')
-rw-r--r--src/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.cpp b/src/context.cpp
index 6b5d2ac..8a3a784 100644
--- a/src/context.cpp
+++ b/src/context.cpp
@@ -7807,7 +7807,7 @@ class NavPathElemContext::Private
{
text = ((const GroupDef*)m_def)->groupTitle();
}
- else if (type==Definition::TypePage && !(((const PageDef*)m_def)->title().isEmpty()))
+ else if (type==Definition::TypePage && (((const PageDef*)m_def)->hasTitle()))
{
text = ((const PageDef*)m_def)->title();
}