[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jan 25 21:12:17 UTC 2021
sc/source/ui/app/inputwin.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 2988bd19eff4053d557ef9d1e70aa7b75665cbcb
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jan 25 11:43:17 2021 +0000
Commit: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Mon Jan 25 22:11:40 2021 +0100
tdf#139857 release mouse on launch context menu
Change-Id: I2baa635dbc81c326eecb1fc579a0f80901d4117d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109875
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 2be36193748a..2846ca43dc54 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -1696,6 +1696,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);
}
}
More information about the Libreoffice-commits
mailing list