|
|
@ -449,7 +449,7 @@ int PCB_EDITOR_CONTROL::PlaceModule( const TOOL_EVENT& aEvent ) |
|
|
|
if( reselect && module ) |
|
|
|
m_toolMgr->RunAction( PCB_ACTIONS::selectItem, true, module ); |
|
|
|
|
|
|
|
if( evt->IsCancel() || TOOL_EVT_UTILS::IsCancelInteractive( *evt ) || evt->IsActivate() ) |
|
|
|
if( TOOL_EVT_UTILS::IsCancelInteractive( *evt ) ) |
|
|
|
{ |
|
|
|
if( module ) |
|
|
|
{ |
|
|
@ -609,7 +609,7 @@ int PCB_EDITOR_CONTROL::PlaceTarget( const TOOL_EVENT& aEvent ) |
|
|
|
{ |
|
|
|
cursorPos = controls->GetCursorPosition(); |
|
|
|
|
|
|
|
if( evt->IsCancel() || TOOL_EVT_UTILS::IsCancelInteractive( *evt ) || evt->IsActivate() ) |
|
|
|
if( TOOL_EVT_UTILS::IsCancelInteractive( *evt ) ) |
|
|
|
break; |
|
|
|
|
|
|
|
else if( evt->IsAction( &PCB_ACTIONS::incWidth ) ) |
|
|
|