Reenable counting files and annotations.

This commit is contained in:
Markus Roth
2013-11-27 23:45:54 +01:00
parent a5b40799ea
commit e4b3883471
-2
View File
@@ -271,11 +271,9 @@ class RootModelItem(ModelItem):
LOG.debug("Creation of ModelItems: %.2fs, addition to model: %.2fs" % (diff1, diff2))
def numFiles(self):
return 0
return len(self.children())
def numAnnotations(self):
return 0
count = 0
for ann in self._model.iterator(AnnotationModelItem):
count += 1