diff options
author | wr61 <wr61@e10066b5-e1e2-0310-b819-94efdf66514b> | 2005-02-08 23:01:47 +0000 |
---|---|---|
committer | wr61 <wr61@e10066b5-e1e2-0310-b819-94efdf66514b> | 2005-02-08 23:01:47 +0000 |
commit | 741cb41989cc8222baf07ef7e8f91eab6514e4f0 (patch) | |
tree | 78a43d495dbe3d4370441e499bb55dbf8d3658ea | |
parent | 4e66317bdef5451a50a3bf4bc1b564338bc52788 (diff) | |
download | vdr-plugin-muggle-741cb41989cc8222baf07ef7e8f91eab6514e4f0.tar.gz vdr-plugin-muggle-741cb41989cc8222baf07ef7e8f91eab6514e4f0.tar.bz2 |
clear playing collection notifies player thread
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@465 e10066b5-e1e2-0310-b819-94efdf66514b
-rw-r--r-- | mg_actions.c | 6 |
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 |