[Libreoffice-commits] core.git: vcl/inc
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Feb 25 14:05:16 UTC 2020
vcl/inc/treeglue.hxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit e0122fc683157b5f41724b9514e072f0ce5e5c15
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Feb 25 10:41:12 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
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 <caolanm at redhat.com>
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)
More information about the Libreoffice-commits
mailing list