mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +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:
@@ -291,7 +291,7 @@ bool Project::save()
|
||||
return true;
|
||||
}
|
||||
|
||||
ProjectFile* Project::get_file(const String& filename)
|
||||
RefPtr<ProjectFile> Project::get_file(const String& filename)
|
||||
{
|
||||
for (auto& file : m_files) {
|
||||
if (LexicalPath(file.name()).string() == LexicalPath(filename).string())
|
||||
|
||||
Reference in New Issue
Block a user