gtg team mailing list archive
-
gtg team
-
Mailing list archive
-
Message #00818
[Bug 518553] Re: Current task unselected in tasklit when closing a task editor
This bug is triggered in GTG/taskbrowser/browser.py
by the last two lines of this snippet:
def on_task_modified(self, sender, tid):
if self.logger:
self.logger.debug("Modify task with ID: %s" % tid)
self.task_tree_model.update_task(tid)
if self.task_tree_model.remove_task(tid):
self.task_tree_model.add_task(tid)
So it seems easy to understand why: all the tasks are removed and re-added from the tree model. Question: why?
Lionel is the expert on the refresh stuff, so I'll wait for him.
** Changed in: gtg
Status: Confirmed => In Progress
--
Current task unselected in tasklit when closing a task editor
https://bugs.launchpad.net/bugs/518553
You received this bug notification because you are a member of Gtg bug
triagers, which is subscribed to Getting Things GNOME!.
Status in Getting Things GNOME!: In Progress
Bug description:
Test plan :
- Open a task of our tasklist ;
- Check that the task is selected in the tasklist ;
- Close the task editor ;
- Check that the task is not selected anymore.
References