summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 8dffbd9..9ed8c1f 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -3061,7 +3061,9 @@ void ClassDef::addMemberToList(MemberList::ListType lt,MemberDef *md)
ml->inSort(md);
else
ml->append(md);
- md->setSectionList(this,ml);
+
+ // for members in the declaration lists we set the section, needed for member grouping
+ if ((ml->listType()&MemberList::detailedLists)==0) md->setSectionList(this,ml);
}
void ClassDef::writeMemberDeclarations(OutputList &ol,MemberList::ListType lt,const QCString &title,