[tasque/transition: 211/213] [OMG] 4 lettes make all the difference
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/transition: 211/213] [OMG] 4 lettes make all the difference
- Date: Wed, 29 Aug 2012 18:51:46 +0000 (UTC)
commit 48b8792bb5fa536337e9b52bcde0ac7d1b263723
Author: Antonius Riha <antoniusriha gmail com>
Date: Mon Aug 20 10:11:25 2012 +0200
[OMG] 4 lettes make all the difference
When implementing GroupBy support on _List_CollectionView, I also moved sort
support from CollectionView to ListCollectionView. Alas, I forgot to make
TaskGroupModel inherit from _List_CollectionView instead of CollectionView. Hence
the task list sort order wouldn't update id e.g. I changed the due date of a task.
src/libtasque/TaskGroupModel.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtasque/TaskGroupModel.cs b/src/libtasque/TaskGroupModel.cs
index 79fcffb..d346706 100644
--- a/src/libtasque/TaskGroupModel.cs
+++ b/src/libtasque/TaskGroupModel.cs
@@ -29,7 +29,7 @@ using System.Collections.Generic;
namespace Tasque
{
- public class TaskGroupModel : CollectionView<Task>
+ public class TaskGroupModel : ListCollectionView<Task>
{
public bool ShowCompletedTasks {
get { return showCompletedTasks; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]