1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:15:09 +00:00

FileManager: Make the "open parent directory" action actually open ".."

This commit is contained in:
Andreas Kling 2019-03-02 09:16:57 +01:00
parent e11c7a5df5
commit 5c0fca0a95
3 changed files with 21 additions and 18 deletions

View file

@ -34,3 +34,8 @@ void DirectoryTableView::set_status_message(const String& message)
if (on_status_message)
on_status_message(message);
}
void DirectoryTableView::open_parent_directory()
{
model().open("..");
}