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

SystemMonitor: Make the icon column in the Processes tab non-selectable

This commit is contained in:
Tim Ledbetter 2024-01-12 18:20:47 +00:00 committed by Andrew Kaster
parent 1eb1f7bde9
commit b242fe20cc

View file

@ -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,