mirror of
https://github.com/wassname/sloth.git
synced 2026-07-24 13:20:12 +08:00
add file to internal files
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user