if an extenderItem is moved before the delayoued insertin has been made, remove it from the pending queue
svn path=/trunk/KDE/kdelibs/; revision=1214453
This commit is contained in:
parent
c16bfacb7b
commit
007aeb35fb
@ -677,6 +677,7 @@ void ExtenderPrivate::addExtenderItem(ExtenderItem *item, const QPointF &pos)
|
|||||||
void ExtenderPrivate::removeExtenderItem(ExtenderItem *item)
|
void ExtenderPrivate::removeExtenderItem(ExtenderItem *item)
|
||||||
{
|
{
|
||||||
attachedExtenderItems.removeAll(item);
|
attachedExtenderItems.removeAll(item);
|
||||||
|
pendingItems.remove(item);
|
||||||
|
|
||||||
//collapse the popupapplet if the last item is removed.
|
//collapse the popupapplet if the last item is removed.
|
||||||
if (attachedExtenderItems.isEmpty()) {
|
if (attachedExtenderItems.isEmpty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user