diff --git a/containment.cpp b/containment.cpp index d3a7c7797..702a8b991 100644 --- a/containment.cpp +++ b/containment.cpp @@ -411,6 +411,11 @@ void Containment::save(KConfigGroup &g) const // locking is saved in Applet::save Applet::save(group); + + if (! isContainment()) { + return; + } + group.writeEntry("screen", d->screen); group.writeEntry("desktop", d->desktop); group.writeEntry("formfactor", (int)d->formFactor);