diff --git a/containmentactions/contextmenu/menu.cpp b/containmentactions/contextmenu/menu.cpp --- a/containmentactions/contextmenu/menu.cpp +++ b/containmentactions/contextmenu/menu.cpp @@ -139,9 +139,12 @@ } } else if (QAction *a = action(name)) { // Bug 364292: show "Remove this Panel" option only when panelcontroller is opened - if (name != QLatin1String("remove") || c->isUserConfiguring() || - (c->containmentType() != Plasma::Types::PanelContainment - && c->containmentType() != Plasma::Types::CustomPanelContainment)) { + // Same for "Add Widgets..." + if ((name != QLatin1String("remove") && + name != QLatin1String("add widgets")) || + c->isUserConfiguring() || + (c->containmentType() != Plasma::Types::PanelContainment && + c->containmentType() != Plasma::Types::CustomPanelContainment)) { actions << a; }