mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:27:35 +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
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>();
|
auto& tree_view = bottom_splitter.add<GUI::TreeView>();
|
||||||
tree_view.set_should_fill_selected_rows(true);
|
tree_view.set_should_fill_selected_rows(true);
|
||||||
tree_view.set_column_headers_visible(true);
|
tree_view.set_column_headers_visible(true);
|
||||||
|
tree_view.set_selection_behavior(GUI::TreeView::SelectionBehavior::SelectRows);
|
||||||
tree_view.set_model(profile->model());
|
tree_view.set_model(profile->model());
|
||||||
|
|
||||||
auto& disassembly_view = bottom_splitter.add<GUI::TableView>();
|
auto& disassembly_view = bottom_splitter.add<GUI::TableView>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue