sc/source/ui/app/inputwin.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit a91d640211745dc8807244cc4af787e98046ce93
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Jan 25 11:43:17 2021 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Jan 25 22:01:00 2021 +0100

    tdf#139857 release mouse on launch context menu
    
    Change-Id: I2baa635dbc81c326eecb1fc579a0f80901d4117d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109895
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 04c4e0e0f970..54e4df5afecd 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1697,6 +1697,8 @@ bool ScTextWnd::Command( const CommandEvent& rCEvt )
                     Size aSize = GetOutputSizePixel();
                     aPos = Point(aSize.Width() / 2, aSize.Height() / 2);
                 }
+                if (IsMouseCaptured())
+                    ReleaseMouse();
                 pViewFrm->GetDispatcher()->ExecutePopup("formulabar", 
&mrGroupBar.GetVclParent(), &aPos);
             }
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to