diff --git a/extenders/extender.cpp b/extenders/extender.cpp index 4e413502c..90da659c3 100644 --- a/extenders/extender.cpp +++ b/extenders/extender.cpp @@ -677,6 +677,7 @@ void ExtenderPrivate::addExtenderItem(ExtenderItem *item, const QPointF &pos) void ExtenderPrivate::removeExtenderItem(ExtenderItem *item) { attachedExtenderItems.removeAll(item); + pendingItems.remove(item); //collapse the popupapplet if the last item is removed. if (attachedExtenderItems.isEmpty()) {