diff options
author | Filiph Sandström <filiph.sandstrom@filfatstudios.com> | 2021-10-27 13:20:27 +0200 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-27 22:05:58 +0300 |
commit | d6a072630268eeccee8ce1da0c13fd4a169caa8c (patch) | |
tree | 169e8d0ec79b6c6918a0425986d9c09d9a0b30c7 /Userland/Libraries/LibGUI/TreeView.cpp | |
parent | a6ccf6659a706eb985cf5e62cd8e8db05ab18ab9 (diff) | |
download | serenity-d6a072630268eeccee8ce1da0c13fd4a169caa8c.zip |
Everywhere: Rename left/right-click to primary/secondary
This resolves #10641.
Diffstat (limited to 'Userland/Libraries/LibGUI/TreeView.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/TreeView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |