Skip to content
Commit a91f6d1b authored by Fabian Vogt's avatar Fabian Vogt
Browse files

[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.

BUG: 448381
parent 9ee58df8
Pipeline #129132 passed with stage
in 2 minutes and 49 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment