vcl/source/treelist/svimpbox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 110773847413242705dc6e2da2e05d5e02d5c155 Author: Caolán McNamara <[email protected]> AuthorDate: Wed Jun 3 11:31:46 2020 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Wed Jun 3 20:19:37 2020 +0200 skip unselectable entries Change-Id: I55b7d64f84e2a5b7ab2e1ee8ce6a2f22440b9cfe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95445 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx index dff21f931e5f..1794e7ca130a 100644 --- a/vcl/source/treelist/svimpbox.cxx +++ b/vcl/source/treelist/svimpbox.cxx @@ -2076,7 +2076,7 @@ void SvImpLBox::MouseMove( const MouseEvent& rMEvt) if ( !MouseMoveCheckCtrl( rMEvt, pEntry ) && ( m_aSelEng.GetSelectionMode() != SelectionMode::NONE ) ) { m_aSelEng.SelMouseMove(rMEvt); - if (m_pView->mbHoverSelection && !m_pView->IsSelected(pEntry)) + if (m_pView->mbHoverSelection && !m_pView->IsSelected(pEntry) && IsSelectable(pEntry)) m_pView->Select(pEntry); } } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
