mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-23 02:23:07 +02:00
VimwikiTask: Refresh upon saving to accomodate changes done by hooks
This commit is contained in:
parent
6cfafdee5d
commit
bae56aa1c8
1 changed files with 3 additions and 0 deletions
|
@ -204,6 +204,9 @@ class VimwikiTask(object):
|
|||
self.task['project'] = self.project
|
||||
self.task.save()
|
||||
|
||||
# If we saved the task, we need to update. Hooks may have chaned data.
|
||||
self.update_from_tw(refresh=False)
|
||||
|
||||
# Load the UUID
|
||||
if not self.uuid:
|
||||
self.uuid = self.task['uuid']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue