Skip to content

Commit

Permalink
FileManager: Focus on file when opening file's location from Properties
Browse files Browse the repository at this point in the history
  • Loading branch information
speles authored and awesomekling committed Mar 1, 2021
1 parent e964d23 commit 0b5ca28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Userland/Applications/FileManager/PropertiesWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 0b5ca28

Please sign in to comment.