[Libreoffice-commits] core.git: vcl/inc

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Mar 18 21:22:29 UTC 2020


 vcl/inc/treeglue.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6388c578c672690fff662cb04b6a0436cd742f37
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Mar 18 20:11:28 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Mar 18 22:22:06 2020 +0100

    call drag end callback after superclass handler
    
    so modifications to the model in a callback can't mangle
    DragFinished's expectations.
    
    Change-Id: I9831bbe4fe9c969307c0e7da06d579ddfa22978c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90720
    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 ac7416590e92..d04cb2046760 100644
--- a/vcl/inc/treeglue.hxx
+++ b/vcl/inc/treeglue.hxx
@@ -93,8 +93,8 @@ public:
 
     virtual void DragFinished(sal_Int8 nDropAction) override
     {
-        m_aEndDragHdl.Call(this);
         SvTabListBox::DragFinished(nDropAction);
+        m_aEndDragHdl.Call(this);
     }
 
     virtual void ModelHasCleared() override


More information about the Libreoffice-commits mailing list