diff --git a/common/tool/tool_manager.cpp b/common/tool/tool_manager.cpp index fed94052a2..2a10f9c7e7 100644 --- a/common/tool/tool_manager.cpp +++ b/common/tool/tool_manager.cpp @@ -821,9 +821,6 @@ bool TOOL_MANAGER::dispatchInternal( TOOL_EVENT& aEvent ) st->cofunc = new COROUTINE( std::move( func_copy ) ); - // as the state changes, the transition table has to be set up again - st->transitions.clear(); - wxLogTrace( kicadTraceToolStack, wxS( "TOOL_MANAGER::dispatchInternal - Running tool %s for event: %s" ), st->theTool->GetName(), aEvent.Format() ); @@ -1002,12 +999,6 @@ TOOL_MANAGER::ID_LIST::iterator TOOL_MANAGER::finishTool( TOOL_STATE* aState ) if( aState == m_activeState ) setActiveState( nullptr ); - // Set transitions to be ready for future TOOL_EVENTs - TOOL_BASE* tool = aState->theTool; - - if( tool->GetType() == INTERACTIVE ) - static_cast( tool )->resetTransitions(); - return it; }