starmath/source/edit.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit 7dc277c97491887c7f6cf2bb24e55596740ba7b5 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu May 6 17:27:53 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu May 6 21:02:52 2021 +0200
release mouse before showing context menu otherwise math loses focus due to the mouse release Change-Id: Ie50cfde6a9f13d87efba2f6ec4830b9730f6e938 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115186 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index 42687f48f9ce..2a23122d395a 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -304,6 +304,7 @@ bool SmEditTextWindow::Command(const CommandEvent& rCEvt) { // purely for "ExecutePopup" taking a vcl::Window and // we assume SmEditTextWindow 0,0 is at SmEditWindow 0,0 + ReleaseMouse(); mrEditWindow.Command(rCEvt); return true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits