mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
SystemMonitor: Make the icon column in the Processes tab non-selectable
This commit is contained in:
parent
1eb1f7bde9
commit
b242fe20cc
Notes:
sideshowbarker
2024-07-17 07:31:31 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/b242fe20cc Pull-request: https://github.com/SerenityOS/serenity/pull/22724
1 changed files with 1 additions and 0 deletions
|
@ -301,6 +301,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
auto& process_table_view = *process_table_container.find_child_of_type_named<GUI::TreeView>("process_table");
|
||||
process_table_view.set_model(TRY(GUI::SortingProxyModel::create(process_model)));
|
||||
process_table_view.column_header().set_section_selectable(ProcessModel::Icon, false);
|
||||
|
||||
for (auto column = 0; column < ProcessModel::Column::__Count; ++column) {
|
||||
process_table_view.set_column_visible(column,
|
||||
|
|
Loading…
Reference in a new issue