diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-06 17:27:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-06 21:02:52 +0200 |
commit | 7dc277c97491887c7f6cf2bb24e55596740ba7b5 (patch) | |
tree | 9822750352d19ff193a1d0bde19d1b78e52ce683 /starmath | |
parent | 6bf2239a189423d087b2536dd7054b21df58ddc4 (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/edit.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |