From 23f506196c616312528cc39620b6267043b76098 Mon Sep 17 00:00:00 2001
From: Miklos Vajna <vmiklos@collabora.com>
Date: Thu, 16 Jun 2022 09:14:04 +0200
Subject: sw content controls: allow the properties dialog in read-only sel

Once you enter a checkbox or picture content control, the selection is
read-only to avoid loosing content the next time the content control is
updated. But this means you can't launch the properties dialog to e.g.
enable placeholder mode.

Fix this by relaxing the restriction and allow the properties dialog on
protected cursor as well, matching Word behavior.

(cherry picked from commit 9aeca50f4f0c1b2503a91eb1c7d9ed8a7231e598)

Change-Id: Ifef9af66d077682c46c852c9ecba2df5f17234fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135967
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
---
 sw/sdi/_textsh.sdi | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi
index d23dedcf9885..84750b937715 100644
--- a/sw/sdi/_textsh.sdi
+++ b/sw/sdi/_textsh.sdi
@@ -306,7 +306,6 @@ interface BaseText
     [
         ExecMethod = ExecInsert ;
         StateMethod = GetState ;
-        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
     ]
     FN_INSERT_COLUMN_BREAK // status(final|play)
     [
-- 
cgit