mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +00:00
Profiler: Use SelectionBehavior::SelectRows
Profiler uses the TreeView in a tabular fashion, and so should set the selection behavior appropriately.
This commit is contained in:
parent
158629d1c4
commit
b6ef12bd26
Notes:
sideshowbarker
2024-07-18 07:08:50 +09:00
Author: https://github.com/sin-ack
Commit: b6ef12bd26
Pull-request: https://github.com/SerenityOS/serenity/pull/9323
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ int main(int argc, char** argv)
|
|||
auto& tree_view = bottom_splitter.add<GUI::TreeView>();
|
||||
tree_view.set_should_fill_selected_rows(true);
|
||||
tree_view.set_column_headers_visible(true);
|
||||
tree_view.set_selection_behavior(GUI::TreeView::SelectionBehavior::SelectRows);
|
||||
tree_view.set_model(profile->model());
|
||||
|
||||
auto& disassembly_view = bottom_splitter.add<GUI::TableView>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue