graphics/SFC_Objects.py
changeset 1849 6811021e3d94
parent 1848 201e0f1896c4
child 1852 70c1cc354a8f
equal deleted inserted replaced
1848:201e0f1896c4 1849:6811021e3d94
  1998             self.Highlights = {}
  1998             self.Highlights = {}
  1999         else:
  1999         else:
  2000             highlight_items = self.Highlights.items()
  2000             highlight_items = self.Highlights.items()
  2001             for number, action_highlights in highlight_items:
  2001             for number, action_highlights in highlight_items:
  2002                 action_highlight_items = action_highlights.items()
  2002                 action_highlight_items = action_highlights.items()
  2003                 for name, attribute_highlights in action_highlights:
  2003                 for name, attribute_highlights in action_highlight_items:
  2004                     attribute_highlights = ClearHighlights(attribute_highlights, highlight_type)
  2004                     attribute_highlights = ClearHighlights(attribute_highlights, highlight_type)
  2005                     if len(attribute_highlights) == 0:
  2005                     if len(attribute_highlights) == 0:
  2006                         action_highlights.pop(name)
  2006                         action_highlights.pop(name)
  2007                 if len(action_highlights) == 0:
  2007                 if len(action_highlights) == 0:
  2008                     self.Highlights.pop(number)
  2008                     self.Highlights.pop(number)