From b6ef12bd26385906ee4fdf974fc72c2eb19121c1 Mon Sep 17 00:00:00 2001 From: sin-ack Date: Tue, 10 Aug 2021 00:13:56 +0000 Subject: [PATCH] Profiler: Use SelectionBehavior::SelectRows Profiler uses the TreeView in a tabular fashion, and so should set the selection behavior appropriately. --- Userland/DevTools/Profiler/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/DevTools/Profiler/main.cpp b/Userland/DevTools/Profiler/main.cpp index f1d40321e3..77a9383bed 100644 --- a/Userland/DevTools/Profiler/main.cpp +++ b/Userland/DevTools/Profiler/main.cpp @@ -137,6 +137,7 @@ int main(int argc, char** argv) auto& tree_view = bottom_splitter.add(); 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();