From 0b5ca284759d90125820e8554a0e9ce04e558d7f Mon Sep 17 00:00:00 2001 From: speles Date: Sun, 28 Feb 2021 20:54:40 +0200 Subject: [PATCH] FileManager: Focus on file when opening file's location from Properties --- Userland/Applications/FileManager/PropertiesWindow.cpp | 1 + 1 file changed, 1 insertion(+) 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(); 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)) {