mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 06:02:07 +03: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: https://github.com/SerenityOS/serenity/commit/6cb536daa8c
@ -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…
Reference in New Issue
Block a user