https://bugs.kde.org/show_bug.cgi?id=482668
--- Comment #16 from Jakob Petsovits <jpe...@petsovits.com> --- Git commit 78415ae0097ad36377b407d3b143589ca8fa8a18 by Jakob Petsovits. Committed on 16/03/2024 at 15:33. Pushed by jpetso into branch 'master'. kcmodule: Revert to binding currentIndex in Component.onCompleted Commit 8ecf6430 ("Don't crash when a configured button action is unsupported") caused empty ComboBox selections on initial load. Turns out `indexOfValue()` can only be used after the Component.completed() signal is emitted, so a purely declarative binding worked incorrectly if queried too early by QML. Therefore, we revert back to assigning a Qt.binding() to currentIndex in Component.onCompleted. This commit also adapts PowerProfileModel and its associated ComboBox in a similar way as the other two models used in this KCM. Related: bug 483750 M +1 -1 kcmodule/common/PowerProfileModel.cpp M +4 -1 kcmodule/profiles/ui/GlobalConfig.qml M +20 -11 kcmodule/profiles/ui/ProfileConfig.qml https://invent.kde.org/plasma/powerdevil/-/commit/78415ae0097ad36377b407d3b143589ca8fa8a18 -- You are receiving this mail because: You are watching all bug changes.