diff --git a/eeschema/block.cpp b/eeschema/block.cpp index b2d643c3e9..a0fcdbaf07 100644 --- a/eeschema/block.cpp +++ b/eeschema/block.cpp @@ -33,7 +33,7 @@ #include #include #include - +#include #include #include #include @@ -201,6 +201,7 @@ bool SCH_EDIT_FRAME::HandleBlockEnd( wxDC* aDC ) BLOCK_COMMAND_T command = block->GetCommand(); m_canvas->CallEndMouseCapture( aDC ); + m_toolManager->DeactivateTool(); block->SetState( state ); block->SetCommand( command );