[longomatch] Fix removing playlist elements
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix removing playlist elements
- Date: Tue, 11 Nov 2014 17:59:52 +0000 (UTC)
commit f80b5b299e82f1ebac269363556c94926c91d7b5
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Nov 10 18:34:34 2014 +0100
Fix removing playlist elements
LongoMatch.GUI/Gui/TreeView/PlayListTreeView.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/TreeView/PlayListTreeView.cs b/LongoMatch.GUI/Gui/TreeView/PlayListTreeView.cs
index 356ccbe..bad880d 100644
--- a/LongoMatch.GUI/Gui/TreeView/PlayListTreeView.cs
+++ b/LongoMatch.GUI/Gui/TreeView/PlayListTreeView.cs
@@ -155,7 +155,7 @@ namespace LongoMatch.Gui.Component
delete = new MenuItem (Catalog.GetString ("Delete"));
delete.Activated += (sender, e) => {
- project.Playlists.Remove (playlist);
+ playlist.Remove (element);
(Model as TreeStore).Remove (ref selectedIter);
Config.EventsBroker.EmitPlaylistsChanged (this);
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]