mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Break out of the zone tool on complete
After placing a zone, we want to be able to immediately edit the zone points. But in the zone tool, we have the intermediate context menu that doesn't help, so breaking back to the selection tool simplifies that workflow Fixes https://gitlab.com/kicad/code/kicad/-/issues/21319
This commit is contained in:
parent
dc4f639c61
commit
e04c5783cf
@ -3310,9 +3310,9 @@ int DRAWING_TOOL::DrawZone( const TOOL_EVENT& aEvent )
|
||||
polyGeomMgr.SetFinished();
|
||||
polyGeomMgr.Reset();
|
||||
|
||||
started = false;
|
||||
m_controls->SetAutoPan( false );
|
||||
m_controls->CaptureCursor( false );
|
||||
cleanup();
|
||||
m_frame->PopTool( aEvent );
|
||||
break;
|
||||
}
|
||||
// adding a corner
|
||||
else if( polyGeomMgr.AddPoint( cursorPos ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user