summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorspeles <speles@mail.ua>2021-02-28 20:54:40 +0200
committerAndreas Kling <kling@serenityos.org>2021-03-01 11:16:18 +0100
commit0b5ca284759d90125820e8554a0e9ce04e558d7f (patch)
tree031027c9c1bfc4081626083cb6641c8653676304 /Userland/Applications
parente964d238b89bf6d804d7b3ef7c0316fc8a1c285f (diff)
downloadserenity-0b5ca284759d90125820e8554a0e9ce04e558d7f.zip
FileManager: Focus on file when opening file's location from Properties
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/FileManager/PropertiesWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Applications/FileManager/PropertiesWindow.cpp b/Userland/Applications/FileManager/PropertiesWindow.cpp
index 53c86f425e..d29b70d3eb 100644
--- a/Userland/Applications/FileManager/PropertiesWindow.cpp
+++ b/Userland/Applications/FileManager/PropertiesWindow.cpp
@@ -114,6 +114,7 @@ PropertiesWindow::PropertiesWindow(const String& path, bool disable_rename, Wind
auto properties = Vector<PropertyValuePair>();
properties.append({ "Type:", get_description(m_mode) });
auto parent_link = URL::create_with_file_protocol(m_parent_path);
+ parent_link.set_fragment(m_name);
properties.append(PropertyValuePair { "Location:", path, Optional(parent_link) });
if (S_ISLNK(m_mode)) {