diff -p -up amarok-1.90/src/browsers/collectionbrowser/CollectionTreeView.cpp.orig amarok-1.90/src/browsers/collectionbrowser/CollectionTreeView.cpp --- amarok-1.90/src/browsers/collectionbrowser/CollectionTreeView.cpp.orig 2008-10-02 13:37:22.000000000 -0300 +++ amarok-1.90/src/browsers/collectionbrowser/CollectionTreeView.cpp 2008-10-02 13:38:44.000000000 -0300 @@ -183,6 +183,10 @@ CollectionTreeView::contextMenuEvent( QC indices = tmp; } + // if clicking on an empty space, just returns + if (!indices.count()) + return; + PopupDropperActionList actions = createBasicActions( indices ); actions += createExtendedActions( indices );