From e881e738ce89af86e4a131d532a56be79786c94d Mon Sep 17 00:00:00 2001 From: Martin Baeuml Date: Wed, 25 May 2011 00:58:16 +0200 Subject: [PATCH] add file to internal files --- sloth/annotations/model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sloth/annotations/model.py b/sloth/annotations/model.py index 5d43202..192030b 100644 --- a/sloth/annotations/model.py +++ b/sloth/annotations/model.py @@ -53,6 +53,7 @@ class RootModelItem(ModelItem): index = self.model().index(0, 0, QModelIndex()) self.model().beginInsertRows(index, next, next) self.children_.append(fmi) + self.files_.append(file) self.model().endInsertRows() self.model().emit(SIGNAL("dataChanged(QModelIndex,QModelIndex)"), index, index)