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
1 changed files with 3 additions and 1 deletions

View File

@ -298,7 +298,9 @@ int PL_DRAWING_TOOLS::DrawShape( const TOOL_EVENT& aEvent )
item->ClearEditFlags(); item->ClearEditFlags();
item = nullptr; 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(); m_frame->OnModify();
} }