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

Fabian Vogt <fab...@ritter-vogt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/commit/a9
                   |                            |1f6d1bea5457922f4f1b3237b07
                   |                            |58471afa1ca

--- Comment #2 from Fabian Vogt <fab...@ritter-vogt.de> ---
Git commit a91f6d1bea5457922f4f1b3237b0758471afa1ca by Fabian Vogt.
Committed on 26/01/2022 at 20:12.
Pushed by fvogt into branch 'master'.

[kcms/keyboard] Fix populating layouts when reloading config

Previously, it populated the internal list of layouts before reloading
settings from kcfg. That lead to KCMKeyboardWidget::configureLayoutsChanged
getting called for ticking the checkbox while the list of layouts was
already nonempty, which is an invalid/unexpected state. In its confusion it
cleared the list.

Just load kcfg settings first to avoid this.

M  +1    -2    kcms/keyboard/kcm_keyboard.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/a91f6d1bea5457922f4f1b3237b0758471afa1ca

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

Reply via email to