Fix tag config changes
authorJack Miller <jack@codezen.org>
Thu, 23 Jul 2015 03:47:29 +0000 (22:47 -0500)
committerJack Miller <jack@codezen.org>
Thu, 23 Jul 2015 03:48:03 +0000 (22:48 -0500)
Accidental breakage when refactoring for the config pending change.

canto_curses/config.py

index eb1ff46..3c8a378 100644 (file)
@@ -889,9 +889,9 @@ class CantoCursesConfig(SubThread):
                         self.wait_write("SETCONFIGS", { "tags" : { tag : changes }})
                     if deletions:
                         self.wait_write("DELCONFIGS", { "tags" : { tag : deletions }})
-                        self.tag_config[tag] = ntc
 
                 if changes:
+                    self.tag_config[tag] = ntc
                     call_hook("curses_tag_opt_change", [ { tag : changes } ])
 
         if "CantoCurses" in given: