From cd5154b8e1e44da3d756090796e718f910ead92f Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 19 Mar 2020 15:12:18 +0100 Subject: [PATCH] Fixed tooltip reappering after leaving imgui dialog --- src/slic3r/GUI/GLCanvas3D.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 552ecca076..1e58032d81 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -3350,8 +3350,7 @@ void GLCanvas3D::on_mouse(wxMouseEvent& evt) #endif /* SLIC3R_DEBUG_MOUSE_EVENTS */ // do not return if dragging or tooltip not empty to allow for tooltip update #if ENABLE_CANVAS_TOOLTIP_USING_IMGUI - // Replaced with the m_tooltip.is_in_imgui() flag. -// if (!m_mouse.dragging && had_tooltip && m_tooltip.is_empty()) + if (!m_mouse.dragging && m_tooltip.is_empty()) #else if (!m_mouse.dragging && m_canvas->GetToolTipText().empty()) #endif // ENABLE_CANVAS_TOOLTIP_USING_IMGUI