diff --git a/sloth/annotations/model.py b/sloth/annotations/model.py index 67dceda..bb1f016 100644 --- a/sloth/annotations/model.py +++ b/sloth/annotations/model.py @@ -446,7 +446,7 @@ class ImageFileModelItem(FileModelItem, ImageModelItem): return FileModelItem.data(self, role, column) def getAnnotations(self): - self._ensureLoaded() + self._ensureAllLoaded() fi = KeyValueModelItem.getAnnotations(self) fi['annotations'] = [child.getAnnotations() for child in self.children()] return fi