diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-08-27 16:51:04 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2024-08-28 12:34:41 +0200 |
commit | ed4b306d95895ae1a3a179f3a8ce15ff940f52e6 (patch) | |
tree | f479bb03460f210dd20360cc54a6d290a5d4d8c2 /cui/AllLangMoTarget_cui.mk | |
parent | 61e11389f2bebf605fbebfc58ef4e345941bf907 (diff) |
tdf#161805 cui: Populate line tab menus when page gets created
Since
commit f075fa01cb4f74185f13eb0a8d7f84cf1f47af49
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Tue Aug 22 10:26:32 2023 +0200
tdf#141101 tdf#101886 a11y: Restore previous focus on col/line popup close
, the menu button toggled handler is no more called before
the menu shows.
`SvxLineTabPage` was relying on the old behavior and
only populating the menu entries in the handler,
resulting in them not being present any more the
first time the menu gets opened after the above
commit.
Populate the menu items when the tab page gets created
instead, by changing the handler to a regular method
`SvxLineTabPage::PopulateMenus` that gets called
from `SvxLineTabPage::Construct` (which already takes
care of updating the list boxes in the tab page).
Move the call to `SvxLineTabPage::Construct` to the
end of `SvxLineTabPage::PageCreated`, as
`SvxLineTabPage::PopulateMenus` makes use of
`m_pSymbolList` and `m_xSymbolAttr` that were previously
only set after the call to `SvxLineTabPage::Construct`.
Change-Id: I521a50f3a3695f20f789add89ffd88749e3b5cd2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172472
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
(cherry picked from commit de1c7a2f54117202d91b1d2d693fa4c1a761aa87)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172487
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'cui/AllLangMoTarget_cui.mk')
0 files changed, 0 insertions, 0 deletions