forked from getting-things-gnome/gtg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes getting-things-gnome#1138 When the task editor gets closed, it first calls `self.textview.process()` which, after processing, calls `self.save_cb()`, which is set to `TaskEditor.light_save()`. This only calls `TaskEditor.save()` at most every 7 seconds. So if you crete a new task and close its editor within 7 seconds, the task doesn't get saved. This commit makes `TaskEditor.desctruction()` call `TaskEditor.save()`, to make sure the task is saved properly before closing the task popup.
- Loading branch information
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters