~jaap.karssenberg/zim/pyzim-gtk3

« back to all changes in this revision

Viewing changes to zim/plugins/tasklist.py

  • Committer: Jaap Karssenberg
  • Date: 2014-11-11 21:17:16 UTC
  • Revision ID: jaap.karssenberg@gmail.com-20141111211716-5llac2ucs0x35p29
Fixed error with parsing "next" in tasks

Show diffs side-by-side

added added

removed removed

Lines of Context:
610
610
                elif any(t.lower() in self.nonactionable_tags for t in tags):
611
611
                        actionable = False
612
612
                elif self._matches_next_label(text) and parent_children:
613
 
                        previous = parent_children[-1]
 
613
                        previous = parent_children[-1][0]
614
614
                        actionable = not previous[0] # previous task not open
615
615
                else:
616
616
                        actionable = True