Skip to content

Commit 13978f3

Browse files
committed
Prevent double entries when using custom title in layout file
1 parent f1bf91e commit 13978f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layout.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ struct LayoutDocEntrySection: public LayoutDocEntrySimple
102102
LayoutDocEntrySection(Kind k,const QCString &tl,bool v) :
103103
LayoutDocEntrySimple(k,v), m_title(tl) {}
104104
QCString title(SrcLangExt lang) const;
105-
std::string id() const override { return entryToString() + ":" + m_title.str(); }
105+
std::string id() const override { return entryToString(); }
106106
private:
107107
QCString m_title;
108108
};

0 commit comments

Comments
 (0)