vcl/source/control/combobox.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 769fc49f87ccfd1858da4cddab09d978ff19df5a
Author:     Szymon Kłos <[email protected]>
AuthorDate: Wed Jul 8 13:52:43 2020 +0200
Commit:     Jan Holesovsky <[email protected]>
CommitDate: Fri Aug 14 22:41:57 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]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100470
    Reviewed-by: Jan Holesovsky <[email protected]>

diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index 944860e0ca74..227856bee234 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -453,7 +453,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

Reply via email to