1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

Help+LibManual: Open sibling page for subsections

Clicking on a subsection now displays the sibling page, which is
intended to be the main page for that section.
This commit is contained in:
kleines Filmröllchen 2022-12-14 17:53:41 +01:00 committed by Andrew Kaster
parent 3e67f14e58
commit 201c9d7c77
6 changed files with 26 additions and 2 deletions

View file

@ -33,6 +33,7 @@ public:
virtual ErrorOr<String> name() const override;
String const& section_name() const { return m_section; }
virtual ErrorOr<String> path() const override;
virtual PageNode const* document() const override { return nullptr; }
virtual bool is_open() const override { return m_open; }
void set_open(bool open);