1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

Help: Clicking on link changes the treeview selection

Fixes #1259
This commit is contained in:
DexesTTP 2020-05-05 13:58:31 +02:00 committed by Andreas Kling
parent 055e955a1c
commit d1a9afa7cd
3 changed files with 27 additions and 0 deletions

View file

@ -27,6 +27,7 @@
#pragma once
#include <AK/NonnullRefPtr.h>
#include <AK/Optional.h>
#include <AK/String.h>
#include <LibGUI/Model.h>
@ -39,6 +40,8 @@ public:
virtual ~ManualModel() override {};
Optional<GUI::ModelIndex> index_from_path(const StringView&) const;
String page_path(const GUI::ModelIndex&) const;
String page_and_section(const GUI::ModelIndex&) const;