Changeset eab80dfc4363…
Parent 0ef3a1435b17…
by
Changes to one file · Browse files at eab80dfc4363 Showing diff from parent 0ef3a1435b17 Diff from another changeset...
@@ -333,9 +333,13 @@ return QVariant(hglib.tounicode(coldata(self._repo[rev])))
def rowCount(self, parent=QModelIndex()):
+ if parent.isValid():
+ return 0 # no child
return len(self._revs)
def columnCount(self, parent=QModelIndex()):
+ if parent.isValid():
+ return 0 # no child
return len(self._COLUMNS)
def headerData(self, section, orientation, role):
|
Loading...