mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:58:12 +00:00
HackStudio: Add a simple "open files" view
Instead of files disappearing after you switch to something else, we now keep track of them in a little ListView below the project tree. You can return to any previously opened file by activating it in the open files list. :^)
This commit is contained in:
parent
76a2c6e44d
commit
333ab53b8d
4 changed files with 43 additions and 12 deletions
|
@ -55,7 +55,7 @@ public:
|
|||
[[nodiscard]] bool remove_file(const String& filename);
|
||||
[[nodiscard]] bool save();
|
||||
|
||||
ProjectFile* get_file(const String& filename);
|
||||
RefPtr<ProjectFile> get_file(const String& filename);
|
||||
|
||||
ProjectType type() const { return m_type; }
|
||||
GUI::Model& model() { return *m_model; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue