mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibFileSystem+Userland: Return ByteString from real_path()
This commit is contained in:
@@ -413,11 +413,11 @@ bool DirectoryView::open(ByteString const& path)
|
||||
warnln("Failed to open '{}': {}", real_path, result.error());
|
||||
}
|
||||
|
||||
if (model().root_path() == real_path.to_byte_string()) {
|
||||
if (model().root_path() == real_path) {
|
||||
refresh();
|
||||
} else {
|
||||
set_active_widget(¤t_view());
|
||||
model().set_root_path(real_path.to_byte_string());
|
||||
model().set_root_path(real_path);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user