shell: Fix containment/applet configs not being saved immediately

This commit is contained in:
Devin Lin 2022-09-10 00:21:19 -04:00
parent ccdba75a3c
commit 23185d9edf
2 changed files with 2 additions and 0 deletions

View file

@ -13,6 +13,7 @@ Kirigami.ScrollablePage {
required property var configItem
signal settingValueChanged()
onSettingValueChanged: saveConfig() // we save config immediately on mobile
function saveConfig() {
for (let key in plasmoid.configuration) {

View file

@ -14,6 +14,7 @@ Kirigami.Page {
required property Item internalPage
signal settingValueChanged()
onSettingValueChanged: saveConfig(); // we save config immediately on mobile
title: kcm.name
topPadding: 0