[gnome-todo/gnome-3-22] task-list-view: unset edited task when changing tasklists
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo/gnome-3-22] task-list-view: unset edited task when changing tasklists
- Date: Thu, 1 Dec 2016 01:49:38 +0000 (UTC)
commit 3021ab8f58b4a245209abbe6c882f58bafbc875c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Nov 2 09:34:48 2016 -0200
task-list-view: unset edited task when changing tasklists
So we don't accidentally end up saving the previously edited task
in the wrong tasklist.
src/gtd-task-list-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gtd-task-list-view.c b/src/gtd-task-list-view.c
index 8dcab4c..0a7e854 100644
--- a/src/gtd-task-list-view.c
+++ b/src/gtd-task-list-view.c
@@ -1803,6 +1803,7 @@ gtd_task_list_view_set_task_list (GtdTaskListView *view,
task_list = gtd_task_list_get_tasks (list);
gtd_task_list_view_set_list (view, task_list);
+ gtd_edit_pane_set_task (priv->edit_pane, NULL);
g_list_free (task_list);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]