[longomatch] Show all tags the the play editor
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Show all tags the the play editor
- Date: Wed, 24 Sep 2014 20:28:52 +0000 (UTC)
commit d59ffc97cb7090173554db1a4d56e0f312d6453c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Sep 10 06:45:38 2014 +0200
Show all tags the the play editor
LongoMatch.GUI/Gui/Dialog/PlayEditor.cs | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Dialog/PlayEditor.cs b/LongoMatch.GUI/Gui/Dialog/PlayEditor.cs
index 09445e2..fef1455 100644
--- a/LongoMatch.GUI/Gui/Dialog/PlayEditor.cs
+++ b/LongoMatch.GUI/Gui/Dialog/PlayEditor.cs
@@ -83,10 +83,11 @@ namespace LongoMatch.Gui.Dialog
{
List<Tag> tags;
- if (!(evt.EventType is AnalysisEventType)) {
- return;
+ if (evt.EventType is AnalysisEventType) {
+ tags = (evt.EventType as AnalysisEventType).Tags.ToList ();
+ } else {
+ tags = new List<Tag> ();
}
- tags = (evt.EventType as AnalysisEventType).Tags.ToList ();
tags.AddRange (project.Dashboard.List.OfType<TagButton> ().Select (t => t.Tag).ToList
());
tags = tags.Union (evt.Tags).ToList ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]