[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - svtools/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 28 07:49:18 UTC 2021
svtools/source/control/valueset.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 2a0d5643234cd0989f91589695694c809d82e344
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu May 27 20:37:50 2021 +0100
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Fri May 28 09:48:41 2021 +0200
tdf#142150 nothing already selected on MouseUp without previous MouseDown
if mouse down was on tooltip (possible on macOS)
Change-Id: Icb4328fa6977356c3bac5f37d42e99ae8d4e4b98
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116158
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index 1d961ad4ad32..5ce7298bf1b8 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -510,7 +510,9 @@ bool ValueSet::MouseButtonUp( const MouseEvent& rMouseEvent )
{
if (rMouseEvent.IsLeft() && !rMouseEvent.IsMod2())
{
- Select();
+ // tdf#142150 MouseUp seen without previous MouseDown
+ if (mnSelItemId)
+ Select();
return true;
}
More information about the Libreoffice-commits
mailing list