extensions/source/propctrlr/listselectiondlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6dd8843f7880255a1292e4b3296a1611874e098d Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Thu May 22 13:51:32 2025 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Thu May 22 22:43:21 2025 +0200 Resolves: tdf#166612 MultiSelection inverted for form list properties Change-Id: I65bac82ceb1f0ddf4a23837e4c29e40e70eead68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185663 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/extensions/source/propctrlr/listselectiondlg.cxx b/extensions/source/propctrlr/listselectiondlg.cxx index 3de89eac76c4..edbc97a93cf7 100644 --- a/extensions/source/propctrlr/listselectiondlg.cxx +++ b/extensions/source/propctrlr/listselectiondlg.cxx @@ -72,7 +72,7 @@ namespace pcr // initialize the multi-selection flag bool bMultiSelection = false; OSL_VERIFY( m_xListBox->getPropertyValue( PROPERTY_MULTISELECTION ) >>= bMultiSelection ); - m_xEntries->set_selection_mode(bMultiSelection ? SelectionMode::Single : SelectionMode::Multiple); + m_xEntries->set_selection_mode(bMultiSelection ? SelectionMode::Multiple : SelectionMode::Single); // fill the list box with all entries Sequence< OUString > aListEntries;