vcl/source/control/combobox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 09c0dc8b80b91a4f2e7ad3569a59402ee131eaf4 Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> AuthorDate: Mon Dec 23 11:15:20 2019 +0100 Commit: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> CommitDate: Mon Dec 23 14:25:30 2019 +0100 tdf#129490 Fix enter key in combo box Follow-up fix for 7de9417d5f65d35227c7f80f6d587c2a56bde4e0 Change-Id: I0b05f11b79d5fcd4e4823c1e31c087724ebc85f8 Reviewed-on: https://gerrit.libreoffice.org/85748 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index 14cb33e74dd7..61d31a6333ef 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -749,7 +749,7 @@ bool ComboBox::EventNotify( NotifyEvent& rNEvt ) case KEY_RETURN: { - if (rNEvt.GetWindow() == m_pImpl->m_pSubEdit) + if ((rNEvt.GetWindow() == m_pImpl->m_pSubEdit) && IsInDropDown()) { m_pImpl->m_pImplLB->ProcessKeyInput( aKeyEvt ); bDone = true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits