diff --git a/shell/desktopview.cpp b/shell/desktopview.cpp --- a/shell/desktopview.cpp +++ b/shell/desktopview.cpp @@ -264,7 +264,7 @@ Plasma::Containment *cont = qobject_cast(applet); - if (cont && cont->isContainment()) { + if (cont && cont->isContainment() && cont->containmentType() == Plasma::Types::DesktopContainment) { m_configView = new ContainmentConfigView(cont); //if we changed containment with the config open, relaunch the config dialog but for the new containment //third arg is used to disconnect when the config closes