SelectedTask: Push the buffer after stopping a task

This commit is contained in:
Tomas Babej 2016-04-20 19:24:26 +02:00
parent cda27d960e
commit f4c314e8cc

View file

@ -193,6 +193,8 @@ class SelectedTasks(object):
vimwikitask.update_in_buffer() vimwikitask.update_in_buffer()
print("Task \"{0}\" stopped.".format(vimwikitask['description'])) print("Task \"{0}\" stopped.".format(vimwikitask['description']))
cache.buffer.push()
def sort(self, sortstring): def sort(self, sortstring):
sort.TaskSorter(cache, self.tasks, sortstring).execute() sort.TaskSorter(cache, self.tasks, sortstring).execute()
cache.buffer.push() cache.buffer.push()