From d6a072630268eeccee8ce1da0c13fd4a169caa8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filiph=20Sandstr=C3=B6m?= Date: Wed, 27 Oct 2021 13:20:27 +0200 Subject: Everywhere: Rename left/right-click to primary/secondary This resolves #10641. --- Userland/Libraries/LibGUI/TreeView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGUI/TreeView.cpp') diff --git a/Userland/Libraries/LibGUI/TreeView.cpp b/Userland/Libraries/LibGUI/TreeView.cpp index ebe6259684..2da6e07fe5 100644 --- a/Userland/Libraries/LibGUI/TreeView.cpp +++ b/Userland/Libraries/LibGUI/TreeView.cpp @@ -79,7 +79,7 @@ void TreeView::doubleclick_event(MouseEvent& event) if (!index.is_valid()) return; - if (event.button() == MouseButton::Left) { + if (event.button() == MouseButton::Primary) { set_cursor(index, SelectionUpdate::Set); if (model.row_count(index)) -- cgit v1.2.3