diff --git a/scriptengines/javascript/appletinterface.cpp b/scriptengines/javascript/appletinterface.cpp index 94167ba64..5365361a2 100644 --- a/scriptengines/javascript/appletinterface.cpp +++ b/scriptengines/javascript/appletinterface.cpp @@ -152,7 +152,7 @@ void AppletInterface::writeConfig(const QString &entry, const QVariant &value) if (config) { KConfigSkeletonItem *item = config->findItemByName(entry); if (item) { - item->setProperty(entry); + item->setProperty(value); m_appletScriptEngine->configNeedsSaving(); } }