sw/source/uibase/docvw/edtwin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 84dc2ca4ea3fdab09ea51f2c10cb1dbe3bf51ac9
Author:     Maya Stephens <[email protected]>
AuthorDate: Thu Dec 11 15:14:40 2025 +0000
Commit:     Miklos Vajna <[email protected]>
CommitDate: Wed Dec 17 16:25:08 2025 +0100

    sw: make readonly dialog async when deleting protected content
    
    Open writer-edit.fodt, select all and press backspace; the Read-Only
    Content dialog is synchronous. This commit makes the dialog
    asynchronous.
    
    Very similar to https://gerrit.libreoffice.org/c/core/+/176113, the
    dialog does not give the warning when the delete key is used instead of
    backspace before this commit.
    
    Change-Id: I9db5fd8a4e5ebb20dbb539119aadbf846a6a6964
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195475
    Reviewed-by: Miklos Vajna <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sw/source/uibase/docvw/edtwin.cxx 
b/sw/source/uibase/docvw/edtwin.cxx
index 25397c0d9a24..bc1d678e552a 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -2121,7 +2121,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
                     }
                     else if (!rSh.IsCursorInParagraphMetadataField())
                     {
-                        rSh.InfoReadOnlyDialog(false);
+                        rSh.InfoReadOnlyDialog(true);
                         eKeyState = SwKeyState::End;
                     }
                     break;

Reply via email to