1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 14:35:00 +00:00

LibGUI: Add symlink targets as a column in GFileSystemModel

Also make sure to hide this column by default where we don't expect
to see it.
This commit is contained in:
Andreas Kling 2020-01-27 22:19:05 +01:00
parent fcb7f6f233
commit f7b394af7d
4 changed files with 23 additions and 0 deletions

View file

@ -110,6 +110,7 @@ GFilePicker::GFilePicker(Mode mode, const StringView& file_name, const StringVie
m_view->set_column_hidden(GFileSystemModel::Column::Group, true);
m_view->set_column_hidden(GFileSystemModel::Column::Permissions, true);
m_view->set_column_hidden(GFileSystemModel::Column::Inode, true);
m_view->set_column_hidden(GFileSystemModel::Column::SymlinkTarget, true);
m_model->set_root_path(path);
location_textbox->on_return_pressed = [&] {