From d10c6dd1b3bc6e8eea06efccc781a7bcbf29c0db Mon Sep 17 00:00:00 2001 From: Andrew Zonenberg Date: Sat, 11 Jul 2015 15:31:01 -0700 Subject: [PATCH] Fixed bug where GAL module editor does not release mouse capture after exiting text tool --- pcbnew/tools/drawing_tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/drawing_tool.cpp b/pcbnew/tools/drawing_tool.cpp index 719e386984..b46e06eca7 100644 --- a/pcbnew/tools/drawing_tool.cpp +++ b/pcbnew/tools/drawing_tool.cpp @@ -1350,7 +1350,7 @@ int DRAWING_TOOL::placeTextModule() m_controls->ShowCursor( false ); m_controls->SetSnapping( false ); m_controls->SetAutoPan( false ); - m_controls->CaptureCursor( true ); + m_controls->CaptureCursor( false ); m_view->Remove( &preview ); m_frame->SetToolID( ID_NO_TOOL_SELECTED, wxCURSOR_DEFAULT, wxEmptyString );