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

New commits:
commit b1cad76ca40cc2e7429ddd94f62de66edbf78311
Author:     Maya Stephens <[email protected]>
AuthorDate: Thu Dec 11 15:14:40 2025 +0000
Commit:     Andras Timar <[email protected]>
CommitDate: Sat Jan 10 23:40:52 2026 +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]>
    (cherry picked from commit 84dc2ca4ea3fdab09ea51f2c10cb1dbe3bf51ac9)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196971
    Reviewed-by: Andras Timar <[email protected]>
    Tested-by: Jenkins

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

Reply via email to