vcl/inc/treeglue.hxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit e0122fc683157b5f41724b9514e072f0ce5e5c15
Author: Caolán McNamara <[email protected]>
AuthorDate: Tue Feb 25 10:41:12 2020 +0000
Commit: Caolán McNamara <[email protected]>
CommitDate: Tue Feb 25 15:04:40 2020 +0100
turn off dnd target indicator on old target when changing target
Change-Id: Ia1cd181789679fd3f99c791806bd53cb74076556
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89421
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <[email protected]>
diff --git a/vcl/inc/treeglue.hxx b/vcl/inc/treeglue.hxx
index ebc0e57b2ccb..ac7416590e92 100644
--- a/vcl/inc/treeglue.hxx
+++ b/vcl/inc/treeglue.hxx
@@ -129,7 +129,10 @@ public:
virtual SvTreeListEntry* GetDropTarget(const Point& rPos) override
{
+ SvTreeListEntry* pOldTargetEntry = pTargetEntry;
pTargetEntry = pImpl->GetEntry(rPos);
+ if (pOldTargetEntry != pTargetEntry)
+ ImplShowTargetEmphasis(pOldTargetEntry, false);
// scroll
if (rPos.Y() < 12)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits