svtools/source/control/valueset.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 56b0d05991391d7a885e6928138d5512cbbdfb47
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Oct 27 10:19:27 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Oct 27 14:00:41 2021 +0200

    remove highlight when mouse tracking is finished
    
    don't just move it to the selected element, remove it
    
    Change-Id: Iea6259d75436169a845e283fb168d4306b5eca73
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124260
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/svtools/source/control/valueset.cxx 
b/svtools/source/control/valueset.cxx
index a2865562b37a..67378218fa3d 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -472,7 +472,7 @@ void ValueSet::ImplTracking(const Point& rPos)
         if( GetStyle() & WB_MENUSTYLEVALUESET || GetStyle() & WB_FLATVALUESET )
             mbHighlight = true;
 
-        ImplHighlightItem( mnSelItemId, false );
+        ImplHighlightItem( 0, false );
     }
 }
 

Reply via email to