only save if the KPluginInfo is valid (otherwise we have a dud)

This commit is contained in:
Aaron Seigo 2013-02-13 21:38:21 +01:00
parent b34b9e9f6a
commit ec1c4d18fc

View File

@ -199,7 +199,7 @@ uint Applet::id() const
void Applet::save(KConfigGroup &g) const
{
if (d->transient) {
if (d->transient || !d->appletDescription.isValid()) {
return;
}