diff options
author | Justin Luth <justin.luth@collabora.com> | 2024-11-11 16:50:40 -0500 |
---|---|---|
committer | Justin Luth <justin.luth@collabora.com> | 2024-11-12 14:52:37 +0100 |
commit | 006541afcf9cf68425ad3eea466c5d9e129f3b63 (patch) | |
tree | 9dfc9f717f3f0b8ca5859d08a9d1c77c9bc8b8dc /RepositoryModule_host.mk | |
parent | 112e07f37f87d6e5ae22bf91f9cccc896698ff87 (diff) |
tdf#157467 SvxPresetListBox: contextmenu must affect item under mouse
Yikes - especially when delete is involved.
Previously it was deleting the in-use background,
regardless of where the mouse right-click happened.
You might wonder why not just query GetHighlightedItemId?
That is because (at least for GTK)
the highlightedItem is zero'd out as soon as the pop-up starts,
i.e. when the mouse is moved over top of the context menu.
Change-Id: Ib88cb0edb8c2c8f854c35821d8125a1991d12a55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176447
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'RepositoryModule_host.mk')
0 files changed, 0 insertions, 0 deletions