[tasque/viewmodel: 72/78] Add ToString override for task category



commit a0f4f4e8f6dabbd37f2a3279541862fd319df221
Author: Antonius Riha <antoniusriha gmail com>
Date:   Sun Aug 12 22:52:55 2012 +0200

    Add ToString override for task category

 src/libtasque/Category.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/libtasque/Category.cs b/src/libtasque/Category.cs
index 87354af..ae2fb89 100644
--- a/src/libtasque/Category.cs
+++ b/src/libtasque/Category.cs
@@ -56,6 +56,11 @@ namespace Tasque
 			
 			return Name.CompareTo (other.Name);
 		}
+		
+		public override string ToString ()
+		{
+			return Name;
+		}
 
 		protected virtual void OnNameChanged () {}
 



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