code: def reindex(self):
          '''reindex waypoints'''
          for i in range(self.count()):
              w = self.wpoints[i]
              w.seq = i
          self.last_change = time.time(f reindex(self):
          '''reindex waypoints'''
          for i in range(self.count()):
              w = self.wpoints[i]
              w.seq = i
          self.last_change = time.time()
docs: reindex waypoints