summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-10-27 10:19:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-10-27 14:00:41 +0200
commit56b0d05991391d7a885e6928138d5512cbbdfb47 (patch)
tree46931e49f335ae9bc98319cac31632104fbd1933 /svtools
parentd212257f72d277f1da9fc20df0ac45f7f0060eaf (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/valueset.cxx2
1 files changed, 1 insertions, 1 deletions
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 );
}
}