Fix trying to redraw with old item info
authorJack Miller <jack@codezen.org>
Fri, 30 May 2014 20:21:01 +0000 (15:21 -0500)
committerJack Miller <jack@codezen.org>
Fri, 30 May 2014 20:21:01 +0000 (15:21 -0500)
canto_curses/tag.py

index 9e4906d..551a8d4 100644 (file)
@@ -380,6 +380,11 @@ class Tag(list):
 
             self.extend(new_stories)
 
+            # Trigger a refresh so that classes above (i.e. TagList) will remap
+            # items
+
+            self.need_refresh()
+
         # Pass the sync onto story objects
         for s in self:
             s.sync()