From ef00e7513a3a0b2832e07a25c5b14e3e9fc562f2 Mon Sep 17 00:00:00 2001 From: Roberto Fernandez Bautista Date: Thu, 14 Jan 2021 19:04:19 +0000 Subject: [PATCH] pl-editor: Activate Point Editor immediately to allow resizing of item just created --- pagelayout_editor/tools/pl_drawing_tools.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pagelayout_editor/tools/pl_drawing_tools.cpp b/pagelayout_editor/tools/pl_drawing_tools.cpp index 18b6acee21..cc2f22b9d2 100644 --- a/pagelayout_editor/tools/pl_drawing_tools.cpp +++ b/pagelayout_editor/tools/pl_drawing_tools.cpp @@ -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(); }