Make 'E' go straight to Custom Track Width dialog.
Also fixes some mouse capture issues. Fixes https://gitlab.com/kicad/code/kicad/issues/7198
This commit is contained in:
parent
07d4a28024
commit
3fcd0860c1
|
@ -1085,15 +1085,13 @@ void ROUTER_TOOL::performRouting()
|
||||||
}
|
}
|
||||||
else if( evt->IsAction( &PCB_ACTIONS::properties ) )
|
else if( evt->IsAction( &PCB_ACTIONS::properties ) )
|
||||||
{
|
{
|
||||||
ACTION_MENU* menu;
|
frame()->GetCanvas()->SetCurrentCursor( KICURSOR::ARROW );
|
||||||
|
controls()->SetAutoPan( false );
|
||||||
if( m_router->Mode() == PNS::PNS_MODE_ROUTE_DIFF_PAIR )
|
{
|
||||||
menu = m_diffPairMenu.get();
|
m_toolMgr->RunAction( ACT_CustomTrackWidth, true );
|
||||||
else
|
}
|
||||||
menu = m_trackViaMenu.get();
|
controls()->SetAutoPan( true );
|
||||||
|
setCursor();
|
||||||
menu->SetDirty();
|
|
||||||
SetContextMenu( menu, CMENU_NOW );
|
|
||||||
}
|
}
|
||||||
else if( evt->IsAction( &ACT_EndTrack ) || evt->IsDblClick( BUT_LEFT ) )
|
else if( evt->IsAction( &ACT_EndTrack ) || evt->IsDblClick( BUT_LEFT ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue