1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 16:45:07 +00:00

FileManager: Canonicalize paths when opening them.

This commit is contained in:
Andreas Kling 2019-03-03 00:40:50 +01:00
parent d94abc4f81
commit 7c06431ff7
2 changed files with 4 additions and 2 deletions

View file

@ -37,5 +37,5 @@ void DirectoryTableView::set_status_message(const String& message)
void DirectoryTableView::open_parent_directory()
{
model().open("..");
model().open(String::format("%s/..", model().path().characters()));
}