sd/source/ui/view/drviewse.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 437161094d6e19f7cc222b1029801a481ad15618
Author:     Pranam Lashkari <lpra...@collabora.com>
AuthorDate: Wed Mar 20 20:53:27 2024 +0530
Commit:     Pranam Lashkari <lpra...@collabora.com>
CommitDate: Fri Mar 22 12:33:18 2024 +0100

    LOK: enter editing directly after textbox insertion
    
    Change-Id: I3e77a1eb72a12c0e4ffc289ca854e0edb4ae9e2d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165007
    Tested-by: Jenkins
    Reviewed-by: Pranam Lashkari <lpra...@collabora.com>

diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 5f95769e6311..da0dbedd1195 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -614,10 +614,6 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
     if(!(HasCurrentFunction() && ((rReq.GetModifier() & KEY_MOD1) || 
bCreateDirectly)))
         return;
 
-    // disable interactive drawing for LOK
-    if (bCreateDirectly)
-            GetViewFrame()->GetDispatcher()->Execute(SID_OBJECT_SELECT, 
SfxCallMode::ASYNCHRON);
-
     // get SdOptions
     SdOptions* pOptions = SD_MOD()->GetSdOptions(GetDoc()->GetDocumentType());
     sal_uInt32 nDefaultObjectSizeWidth(pOptions->GetDefaultObjectSizeWidth());
@@ -656,6 +652,10 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
     {
         case SID_DRAW_CAPTION:
         case SID_DRAW_CAPTION_VERTICAL:
+        case SID_ATTR_CHAR:
+        case SID_ATTR_CHAR_VERTICAL:
+        case SID_TEXT_FITTOSIZE:
+        case SID_TEXT_FITTOSIZE_VERTICAL:
         {
             // Make FuText the current function.
             SfxUInt16Item aItem (SID_TEXTEDIT, 1);

Reply via email to