1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-02-11 08:48:30 +01:00
slackware-current/source/d/doxygen/f46e21ed722193d74f56b2aa275a5cdc5e40b72b.patch

27 lines
757 B
Diff
Raw Normal View History

From f46e21ed722193d74f56b2aa275a5cdc5e40b72b Mon Sep 17 00:00:00 2001
From: Dimitri van Heesch <doxygen@gmail.com>
Date: Mon, 30 Dec 2024 16:07:04 +0100
Subject: [PATCH] issue #11299 Regression with HTML_DYNAMIC_MENUS = NO,
DISABLE_INDEX = NO, and custom LAYOUT_FILE
---
src/layout.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/layout.h b/src/layout.h
index fc7917291b..247c24eb9c 100644
--- a/src/layout.h
+++ b/src/layout.h
@@ -232,6 +232,11 @@ struct LayoutNavEntry
std::swap(m_title,other.m_title);
std::swap(m_intro,other.m_intro);
std::swap(m_children,other.m_children);
+ // reparent children
+ for (auto &child : m_children)
+ {
+ child->m_parent = this;
+ }
}
private: