diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-26 17:24:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-10-26 21:04:51 +0200 |
commit | 277d05a7188be77162e4a388c7c825daf8d6e326 (patch) | |
tree | 5fd4d54bf347b1fcf67087ba504d5a5e08f44def /svtools | |
parent | ff1b1e51e26ff7314e5d77db85b0541626cda4e0 (diff) |
ValueSet doesn't use WB_NOPOINTERFOCUS anymore
Change-Id: I5d1b1240518aa97d229d56545e353259d226f1e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124237
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/valueset.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index c2baa2d5a483..75665ddd2654 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -486,15 +486,9 @@ bool ValueSet::MouseButtonDown( const MouseEvent& rMouseEvent ) if (rMouseEvent.GetClicks() == 1) { if (pItem) - { SelectItem(pItem->mnId); - bConsumed = true; - } - if (!(GetStyle() & WB_NOPOINTERFOCUS)) - { - GrabFocus(); - bConsumed = true; - } + GrabFocus(); + bConsumed = true; } else if (pItem && rMouseEvent.GetClicks() == 2) { |