diff options
-rw-r--r-- | src/groupdef.cpp | 8 | ||||
-rw-r--r-- | src/groupdef.h | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp index bad8526..57e2226 100644 --- a/src/groupdef.cpp +++ b/src/groupdef.cpp @@ -890,9 +890,7 @@ void GroupDefImpl::writeBriefDescription(OutputList &ol) ol.writeString(" \n"); ol.enable(OutputGenerator::RTF); - if (Config_getBool(REPEAT_BRIEF) || - !documentation().isEmpty() - ) + if (hasDetailedDescription()) { ol.disableAllBut(OutputGenerator::Html); ol.startTextLink(0,"details"); @@ -1783,8 +1781,8 @@ void GroupDefImpl::updateLanguage(const Definition *d) bool GroupDefImpl::hasDetailedDescription() const { static bool repeatBrief = Config_getBool(REPEAT_BRIEF); - return ((!briefDescription().isEmpty() && repeatBrief) || - !documentation().isEmpty()); + return ((!briefDescription().isEmpty() && repeatBrief) || !documentation().isEmpty() || !inbodyDocumentation().isEmpty()) && + (m_pageDict->count()!=(uint)numDocMembers()); } // --- Cast functions diff --git a/src/groupdef.h b/src/groupdef.h index 0df5344..0a1ec9d 100644 --- a/src/groupdef.h +++ b/src/groupdef.h @@ -23,6 +23,7 @@ #include "sortdict.h" #include "definition.h" #include "dirdef.h" +#include "layout.h" class MemberList; class FileList; |