diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-11-06 08:24:26 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-11-06 12:32:48 +0100 |
commit | bb51c57fd515bd2b2a9d97aa9a371901a3af8092 (patch) | |
tree | 4fca7e5a44ac6bae3756a26b1068829ebb4e3f2f /include/vcl/image.hxx | |
parent | bcf9699a823775bb4c5ad2a1c3bd96e8e1c4fede (diff) |
sw lok: async readonly dialog when pressing delete key on protected content
Open online.git/test/samples/writer.fodt, ctrl-a, del, the read-only
dialog is blocking.
This was working already for the character insert case, but not when going
via KEY_DELETE.
Fix the problem similar to what commit
0c03a97fb8844ad0de1abea79b5265617a509460 (sw edit win: fix read-only
selections while handling ExtTextInput, 2021-01-13) did, by switching to
the async path here.
There doesn't seem to be any reason for the old sync behavior, other
than the safe "keep things unchanged" default in InfoReadOnlyDialog().
Change-Id: I9330cb235bf6c19f96e9d21889eb9639725daf8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176113
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include/vcl/image.hxx')
0 files changed, 0 insertions, 0 deletions