diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 10:58:49 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-02 16:32:18 +0000 |
commit | 934c79c22ee63c25538e25b18d780377cc09f3af (patch) | |
tree | 6a2bda8906fd45c4bb749393e8b20bf5a53140e5 | |
parent | b9375c082822e4a1030c9dfca8cb0c959b78633d (diff) |
Resolves: tdf#98100 no valueset tooltips with extended tips...
and no offline help available. I feel this was the original
(day-0-checkin) intent of the code, otherwise why bother with
the "| HelpEventMode::BALLOON" as that makes no difference
to the existing logic. And this per-item help is what other
similiar widgets do.
Change-Id: Idda130450db322acefd9ecc13986067790f9a614
(cherry picked from commit 281027ea88d4d683449d4ce2cdb0563223741465)
Reviewed-on: https://gerrit.libreoffice.org/28542
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r-- | svtools/source/control/valueset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index e3bdbebd087c..d411eea5b3c3 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -1494,7 +1494,7 @@ void ValueSet::Resize() void ValueSet::RequestHelp( const HelpEvent& rHelpEvent ) { - if ( (rHelpEvent.GetMode() & (HelpEventMode::QUICK | HelpEventMode::BALLOON)) == HelpEventMode::QUICK ) + if (rHelpEvent.GetMode() & (HelpEventMode::QUICK | HelpEventMode::BALLOON)) { Point aPos = ScreenToOutputPixel( rHelpEvent.GetMousePosPixel() ); size_t nItemPos = ImplGetItem( aPos ); |