sw content controls, combo box: make the dropdown case read-only

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 21 September 2022 11:21 UTC

Dropdown should be read-only (select from existing list items only), combo box should be read-write (accepting free-form user input as well).

Now that we have a combo box, allow editing a combo box's content, but turn dropdown into a read-only control.

Change-Id: Ie9434eaf2580be8ce154ec1126f7768eb9401254 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140338

37656a47d879 sw content controls, combo box: make the dropdown case read-only
sw/qa/core/crsr/crsr.cxx | 19 +++++++++++++++++++
sw/source/core/crsr/pam.cxx | 11 ++++++++++-
sw/source/uibase/wrtsh/wrtsh3.cxx | 2 ++
3 files changed, 31 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share