Fixed bug where GAL module editor does not release mouse capture after exiting text tool

This commit is contained in:
Andrew Zonenberg 2015-07-11 15:31:01 -07:00
parent c291b88608
commit d10c6dd1b3
1 changed files with 1 additions and 1 deletions

View File

@ -1350,7 +1350,7 @@ int DRAWING_TOOL::placeTextModule()
m_controls->ShowCursor( false ); m_controls->ShowCursor( false );
m_controls->SetSnapping( false ); m_controls->SetSnapping( false );
m_controls->SetAutoPan( false ); m_controls->SetAutoPan( false );
m_controls->CaptureCursor( true ); m_controls->CaptureCursor( false );
m_view->Remove( &preview ); m_view->Remove( &preview );
m_frame->SetToolID( ID_NO_TOOL_SELECTED, wxCURSOR_DEFAULT, wxEmptyString ); m_frame->SetToolID( ID_NO_TOOL_SELECTED, wxCURSOR_DEFAULT, wxEmptyString );