7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 23:11:41 +00:00

pl-editor: Activate Point Editor immediately to allow resizing of item just created

This commit is contained in:
Roberto Fernandez Bautista 2021-01-14 19:04:19 +00:00 committed by Jon Evans
parent c7624d2957
commit ef00e7513a

View File

@ -298,7 +298,9 @@ int PL_DRAWING_TOOLS::DrawShape( const TOOL_EVENT& aEvent )
item->ClearEditFlags();
item = nullptr;
m_toolMgr->RunAction( ACTIONS::activatePointEditor );
// Activate point editor immediately to allow resizing of the item just created
m_toolMgr->RunAction( ACTIONS::activatePointEditor, true );
m_frame->OnModify();
}