← Back to team overview

gtg team mailing list archive

[Merge] lp:~antonio-roquentin/gtg/bugfix-1013869 into lp:gtg

 

Antonio Roquentin has proposed merging lp:~antonio-roquentin/gtg/bugfix-1013869 into lp:gtg.

Requested reviews:
  Gtg developers (gtg)
Related bugs:
  Bug #1013869 in Getting Things GNOME!: "Saved searches can't be deleted when GTG crashes"
  https://bugs.launchpad.net/gtg/+bug/1013869

For more details, see:
https://code.launchpad.net/~antonio-roquentin/gtg/bugfix-1013869/+merge/116956
-- 
https://code.launchpad.net/~antonio-roquentin/gtg/bugfix-1013869/+merge/116956
Your team Gtg developers is requested to review the proposed merge of lp:~antonio-roquentin/gtg/bugfix-1013869 into lp:gtg.
=== modified file 'GTG/core/datastore.py'
--- GTG/core/datastore.py	2012-07-23 12:04:01 +0000
+++ GTG/core/datastore.py	2012-07-26 20:28:21 +0000
@@ -152,12 +152,14 @@
         self._add_new_tag(name, tag, search_filter,
             parameters, parent_id = CoreConfig.SEARCH_TAG)
         Log.debug("*** view added %s ***" % name)
+        self.save_tagtree()
         return tag
 
     def remove_tag(self, name):
         """ Removes a tag from the tagtree """
         if self.__tagstore.has_node(name):
             self.__tagstore.del_node(name)
+            self.save_tagtree()
         else:
             raise IndexError("There is no tag %s" % name)