kcm/decorations: Fix border size updating for thumbnails

The property was only being updated on changes, but reset back
to `Normal` on KCM loading or after clicking Apply.
This commit is contained in:
Ismael Asensio 2020-11-15 15:14:49 +01:00 committed by Nate Graham
parent 47efd17763
commit 871611e9ec

View file

@ -43,6 +43,9 @@ KCM.GridView {
KDecoration.Settings {
id: settingsItem
bridge: bridgeItem.bridge
Component.onCompleted: {
settingsItem.borderSizesIndex = kcm.borderSize
}
}
KDecoration.Decoration {
id: inactivePreview