mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
LibGUI: Allow navigating into symlinked directories in FilePicker
If you double-click on a symlink to a directory while browsing with a FilePicker, you most likely want to open the directory the symlink points to, not open the symlink itself. So let's do that. :^)
This commit is contained in:
parent
bcd05e199b
commit
8db4819271
3 changed files with 12 additions and 1 deletions
|
@ -79,6 +79,7 @@ public:
|
|||
|
||||
mutable RefPtr<Gfx::Bitmap> thumbnail;
|
||||
bool is_directory() const { return S_ISDIR(mode); }
|
||||
bool is_symlink_to_directory() const;
|
||||
bool is_executable() const { return mode & (S_IXUSR | S_IXGRP | S_IXOTH); }
|
||||
|
||||
bool is_selected() const { return m_selected; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue