summaryrefslogtreecommitdiff
path: root/mg_actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'mg_actions.c')
-rw-r--r--mg_actions.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mg_actions.c b/mg_actions.c
index ea35c32..13cb2c7 100644
--- a/mg_actions.c
+++ b/mg_actions.c
@@ -950,7 +950,11 @@ void
mgClearCollection::Execute()
{
if (Interface->Confirm(tr("Clear the collection?")))
- selection()->ClearCollection(selection()->getCurrentValue());
+ {
+ string target = selection()->getCurrentValue();
+ selection()->ClearCollection(target);
+ osd()->CollectionChanged(target);
+ }
}
//! \brief remove selected items from default collection