mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:27:44 +00:00
FileManager: Hide the Inode and Symlink Target columns in TableView
These are not generally interesting, so let's hide them by default. The user can re-enable them if they want.
This commit is contained in:
parent
887ab3cc9a
commit
6cb536daa8
1 changed files with 3 additions and 0 deletions
|
@ -290,6 +290,9 @@ void DirectoryView::setup_table_view()
|
|||
m_table_view->set_model(m_sorting_model);
|
||||
m_table_view->set_key_column_and_sort_order(GUI::FileSystemModel::Column::Name, GUI::SortOrder::Ascending);
|
||||
|
||||
m_table_view->set_column_visible(GUI::FileSystemModel::Column::Inode, false);
|
||||
m_table_view->set_column_visible(GUI::FileSystemModel::Column::SymlinkTarget, false);
|
||||
|
||||
m_table_view->on_activation = [&](auto& index) {
|
||||
handle_activation(index);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue