summaryrefslogtreecommitdiff
path: root/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp')
-rw-r--r--Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp b/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp
index d45c63008f..a90ae7841b 100644
--- a/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp
+++ b/Userland/Applications/SpaceAnalyzer/TreeMapWidget.cpp
@@ -299,7 +299,7 @@ void TreeMapWidget::mousedown_event(GUI::MouseEvent& event)
void TreeMapWidget::doubleclick_event(GUI::MouseEvent& event)
{
- if (event.button() != GUI::MouseButton::Left)
+ if (event.button() != GUI::MouseButton::Primary)
return;
const TreeMapNode* node = path_node(m_viewpoint);
if (node && !node_is_leaf(*node)) {