Pass unhandled command events from Symbol Editor move tool.

Fixes https://gitlab.com/kicad/code/kicad/issues/6015
This commit is contained in:
Jeff Young 2020-10-15 18:42:51 +01:00
parent ebd5dc81cc
commit 128910c602
1 changed files with 6 additions and 0 deletions

View File

@ -239,6 +239,10 @@ int LIB_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
chain_commands = true;
break;
}
else
{
evt->SetPassEvent();
}
}
//------------------------------------------------------------------------
// Handle context menu
@ -263,7 +267,9 @@ int LIB_MOVE_TOOL::Main( const TOOL_EVENT& aEvent )
break; // Finish
}
else
{
evt->SetPassEvent();
}
} while( ( evt = Wait() ) ); // Assignment intentional; not equality test