diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-09-10 18:31:59 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-09-11 00:20:21 +0200 |
commit | c58a1058d4868f0f704547c11da1c9d30bceba5c (patch) | |
tree | 272b0cf132024265ef703db58bed9287f9ecfb97 /cui/source | |
parent | 8793f3c406d5acba910fb5b819e8263cd38a3af0 (diff) |
Allow multiple selection in AutoComplete word list
Before commit 9c5d20105f0b123fca724cb4845f0e7227c217d8 ("weld
OfaAutoCompleteTabPage"), this used to be a MultiListBox.
Copying in that dialog also just copies selected entries, so
there is no usable GUI way left for a user to copy the whole
word list.
Change-Id: Ib2909642be9dd0d6ebac1648b603c7a8bde7ca5f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121914
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index e632a1b3be49..881ef8b53454 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -1922,6 +1922,7 @@ OfaAutoCompleteTabPage::OfaAutoCompleteTabPage(weld::Container* pPage, weld::Dia m_xLBEntries->set_size_request(m_xLBEntries->get_approximate_digit_width() * 30, m_xLBEntries->get_height_rows(10)); + m_xLBEntries->set_selection_mode(SelectionMode::Multiple); // the defined KEYs static const sal_uInt16 aKeyCodes[] = { |