[longomatch/redesign2: 2/17] Add default constaructor for team subcategories



commit 99e238ce4b89af595d509823cb30c7a82eb608a9
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Apr 9 18:07:44 2011 +0200

    Add default constaructor for team subcategories

 LongoMatch/Store/SubCategory.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch/Store/SubCategory.cs b/LongoMatch/Store/SubCategory.cs
index 0ee7ee5..a558c2c 100644
--- a/LongoMatch/Store/SubCategory.cs
+++ b/LongoMatch/Store/SubCategory.cs
@@ -135,6 +135,15 @@ namespace LongoMatch.Store
 	/// </summary>
 	[Serializable]
 	public class TeamSubCategory: SubCategory<Team> {
+	
+		public TeamSubCategory() {
+			Name = Catalog.GetString("Team");
+			AllowMultiple=true;
+			FastTag=true;
+			Add(Team.LOCAL);
+			Add(Team.VISITOR);
+		}
+		
 		public override string ToMarkupString(){
 			return RenderDesc(Catalog.GetString("Team selection"), "");
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]