Make sure the postion relative tool gets activated when used.

Fixes: lp:1836978
* https://bugs.launchpad.net/kicad/+bug/1836978
This commit is contained in:
Jeff Young 2019-07-19 20:14:13 -06:00
parent 43be58a1ea
commit d746ba892d
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@ int POSITION_RELATIVE_TOOL::SelectPositionRelativeItem( const TOOL_EVENT& aEvent
STATUS_TEXT_POPUP statusPopup( frame() ); STATUS_TEXT_POPUP statusPopup( frame() );
bool done = false; bool done = false;
Activate();
statusPopup.SetText( _( "Select reference item..." ) ); statusPopup.SetText( _( "Select reference item..." ) );
picker->SetClickHandler( picker->SetClickHandler(