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

New commits:
commit 6388c578c672690fff662cb04b6a0436cd742f37
Author:     Caolán McNamara <[email protected]>
AuthorDate: Wed Mar 18 20:11:28 2020 +0000
Commit:     Caolán McNamara <[email protected]>
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 <[email protected]>

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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to