From 871611e9ec578796e69d0cf8bf9068a4e6832735 Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Sun, 15 Nov 2020 15:14:49 +0100 Subject: [PATCH] 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. --- kcmkwin/kwindecoration/package/contents/ui/Themes.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kcmkwin/kwindecoration/package/contents/ui/Themes.qml b/kcmkwin/kwindecoration/package/contents/ui/Themes.qml index 67a9e44779..17b573dce6 100644 --- a/kcmkwin/kwindecoration/package/contents/ui/Themes.qml +++ b/kcmkwin/kwindecoration/package/contents/ui/Themes.qml @@ -43,6 +43,9 @@ KCM.GridView { KDecoration.Settings { id: settingsItem bridge: bridgeItem.bridge + Component.onCompleted: { + settingsItem.borderSizesIndex = kcm.borderSize + } } KDecoration.Decoration { id: inactivePreview -- GitLab