diff options
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r-- | src/diagram.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp index a499097..681fc89 100644 --- a/src/diagram.cpp +++ b/src/diagram.cpp @@ -249,8 +249,8 @@ void DiagramRow::insertClass(DiagramItem *parent,ClassDef *cd,bool doBases, if (parent) parent->addChild(di); di->move(count()*gridWidth,level*gridHeight); append(di); - BaseClassList *bcl=doBases ? cd->baseClasses() : cd->superClasses(); - /* there are base/super classes */ + BaseClassList *bcl=doBases ? cd->baseClasses() : cd->subClasses(); + /* there are base/sub classes */ int count=0; BaseClassDef *bcd=bcl->first(); while (bcd) |