mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 19:16:02 +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
Notes:
sideshowbarker
2024-07-18 05:03:02 +09:00
Author: https://github.com/awesomekling
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