diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-11-16 08:29:26 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-11-16 10:09:06 +0100 |
commit | 2f42d8acd2d06f848c9e680c42a0f7834a9a641f (patch) | |
tree | 408ba3529c47d2248dfac7f492e23c866bd2e5c4 /sw/qa/README | |
parent | 06e3877dc2cf22e00d04b48453e9ab0b948c3ca2 (diff) |
sw floattable, delete UI: fix unfloat button for cant-split frames
Open sw/qa/extras/uiwriter/data/unfloatable_floating_table.odt, select
the TextFrame, click on the "unfloat" button that appears, then nothing
happens.
This is a problem since commit 51379fb3d46e5891bdaea0122bd62b0753663da3
(weld writer's FrameControl MenuButtons, 2020-12-03), the old
MouseButtonDown() callback is never invoked.
Fix the problem similar to what SwHeaderFooterWin does, which works:
instead of overriding the dead MouseButtonDown(), explicitly connect the
click handler to the weld::Button widget.
Also adjust SwFlyFrame::ActiveUnfloatButton() to use the welded
callback, this way CppunitTest_sw_uiwriter2's testUnfloating covers the
fix.
Change-Id: I1180fc6a0ae2df7c01c273a5ef92dd8915ca70a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159493
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/qa/README')
0 files changed, 0 insertions, 0 deletions