Skip to content

Commit

Permalink
Prevent dropping onto a task from resetting filter
Browse files Browse the repository at this point in the history
  • Loading branch information
diegogangl committed Feb 19, 2024
1 parent fc5e7bc commit 66f9162
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GTG/gtk/browser/task_pane.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,9 @@ def drag_drop(self, target, task, x, y):
self.ds.tasks.unparent(task.id, task.parent.id)

self.ds.tasks.parent(task.id, dropped.id)
self.ds.tasks.tree_model.emit('items-changed', 0, 0, 0)
self.refresh()
self.emit('collapse-all')
self.emit('expand-all')


def on_task_RMB_click(self, gesture, sequence) -> None:
Expand Down

0 comments on commit 66f9162

Please sign in to comment.