vcl/source/control/combobox.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit f15ed9ef890b13394de9b2673c010086063d6e7a Author: Szymon Kłos <[email protected]> AuthorDate: Wed Jul 8 13:52:43 2020 +0200 Commit: Szymon Kłos <[email protected]> CommitDate: Thu Jul 9 13:01:07 2020 +0200 Call modified handler on combobox selection SelectEntryPos is used by uitest framework to perform combobox selection action. Calling handler is required to propagate changes to the client code. Change-Id: I83d3d72ee5f17f382ce5f56b35b0a91ec98ebfb3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98370 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index 4363f868c482..f8cd09911018 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -452,7 +452,10 @@ IMPL_LINK( ComboBox::Impl, ImplSelectionChangedHdl, sal_Int32, nChanged, void ) if (!m_pImplLB->IsTrackingSelect()) { if (!m_pSubEdit->IsReadOnly() && m_pImplLB->GetEntryList()->IsEntryPosSelected(nChanged)) + { m_pSubEdit->SetText(m_pImplLB->GetEntryList()->GetEntryText(nChanged)); + m_pSubEdit->Modify(); + } } } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
