https://bugs.kde.org/show_bug.cgi?id=518842

Finley Watson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/sdk/
                   |                            |lokalize/-/commit/242c51735
                   |                            |309c81641c7931437881dd76ed9
                   |                            |20de
             Status|REPORTED                    |RESOLVED

--- Comment #2 from Finley Watson <[email protected]> ---
Git commit 242c51735309c81641c7931437881dd76ed920de by Finley Watson, on behalf
of Tanish Kumar.
Committed on 07/09/2026 at 22:22.
Pushed by finw into branch 'master'.

Fix menu bar getting messed up after configuring toolbars

The base class
[`saveNewToolbarConfig()`](https://invent.kde.org/frameworks/kxmlgui/-/blob/master/src/kxmlguiwindow.h?ref_type=heads#L537-542)
rebuilds the whole GUI when toolbar config changes but it doesn't know about
the tab-page client that gets dynamically added through
`guiFactory()->addClient()`. So after the rebuild the menus end up in the wrong
order.

This just overrides it to pull the active tab-page client out before the
rebuild and put it back after.

M  +17   -0    src/lokalizemainwindow.cpp
M  +6    -0    src/lokalizemainwindow.h

https://invent.kde.org/sdk/lokalize/-/commit/242c51735309c81641c7931437881dd76ed920de

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to