[longomatch/redesign2: 135/140] Initialize SubCategory with the default values
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign2: 135/140] Initialize SubCategory with the default values
- Date: Tue, 24 May 2011 22:07:26 +0000 (UTC)
commit e2dc28144367b862cb2171d80fd7bf58a8d57baa
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Thu Apr 28 20:53:18 2011 +0200
Initialize SubCategory with the default values
LongoMatch/Store/SubCategory.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Store/SubCategory.cs b/LongoMatch/Store/SubCategory.cs
index 2e34d66..de95a04 100644
--- a/LongoMatch/Store/SubCategory.cs
+++ b/LongoMatch/Store/SubCategory.cs
@@ -41,7 +41,11 @@ namespace LongoMatch.Store
[Serializable]
public class SubCategory<T>: List<T>, ISubCategory
{
- public SubCategory() {}
+ public SubCategory() {
+ Name = "";
+ AllowMultiple = true;
+ FastTag = true;
+ }
public SubCategory(IEnumerable<T> list): base(list) {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]