[longomatch] Unload play from the player when this play has been deleted
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [longomatch] Unload play from the player when this play has been deleted
- Date: Tue, 22 Sep 2009 16:40:11 +0000 (UTC)
commit f1258089ea5bb18d8bac47592841982c41527428
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Sep 22 18:39:11 2009 +0200
Unload play from the player when this play has been deleted
LongoMatch/Handlers/EventsManager.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Handlers/EventsManager.cs b/LongoMatch/Handlers/EventsManager.cs
index 4e905f3..fec1f34 100644
--- a/LongoMatch/Handlers/EventsManager.cs
+++ b/LongoMatch/Handlers/EventsManager.cs
@@ -220,7 +220,8 @@ namespace LongoMatch
localPlayersList.DeleteTimeNode(tNode,player);
foreach (int player in tNode.VisitorPlayers)
visitorPlayersList.DeleteTimeNode(tNode,player);
- openedProject.DeleteTimeNode(tNode,section);
+ openedProject.DeleteTimeNode(tNode,section);
+ player.CloseActualSegment();
timeline.QueueDraw();
MainClass.DB.UpdateProject(openedProject);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]