summaryrefslogtreecommitdiffstats
path: root/vcl/source/treelist/svimpbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/treelist/svimpbox.cxx')
-rw-r--r--vcl/source/treelist/svimpbox.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx
index af40a630e698..fd3f43263c45 100644
--- a/vcl/source/treelist/svimpbox.cxx
+++ b/vcl/source/treelist/svimpbox.cxx
@@ -2048,7 +2048,11 @@ void SvImpLBox::MouseMove( const MouseEvent& rMEvt)
if (!pEntry)
m_pView->SelectAll(false);
else if (!m_pView->IsSelected(pEntry) && IsSelectable(pEntry))
+ {
+ m_pView->mbSelectingByHover = true;
m_pView->Select(pEntry);
+ m_pView->mbSelectingByHover = false;
+ }
}
}