From ca0e39d7e78a7007c909f2145da660e2cc3397f3 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sat, 12 May 2018 16:05:22 -0500 Subject: [PATCH] 2D Plater: Added double-click handler. --- src/GUI/Plater/Plate2D.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/GUI/Plater/Plate2D.cpp b/src/GUI/Plater/Plate2D.cpp index b25c256eb..e53eec7d9 100644 --- a/src/GUI/Plater/Plate2D.cpp +++ b/src/GUI/Plater/Plate2D.cpp @@ -220,6 +220,9 @@ void Plate2D::mouse_up(wxMouseEvent& e) { } } void Plate2D::mouse_dclick(wxMouseEvent& e) { + if (e.LeftDClick()) { + this->on_double_click(); + } } void Plate2D::set_colors() {