type moved to Layer

This commit is contained in:
j 2010-12-31 17:33:41 +05:30
parent 7754534347
commit a0db8b77ad
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ class Item(models.Model):
#FIXME:
#f.dialog = 'fixme'
save('dialog', '\n'.join([l.value for l in Annotation.objects.filter(type='subtitle', item=self).order_by('start')]))
save('dialog', '\n'.join([l.value for l in Annotation.objects.filter(layer__type='subtitle', item=self).order_by('start')]))
#FIXME: collate filenames
#f.filename = self.filename