Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

hgemail: make sure _ChangesetsModel is flat

Changeset eab80dfc4363

Parent 0ef3a1435b17

by Yuya Nishihara

Changes to one file · Browse files at eab80dfc4363 Showing diff from parent 0ef3a1435b17 Diff from another changeset...

 
333
334
335
 
 
336
337
338
 
 
339
340
341
 
333
334
335
336
337
338
339
340
341
342
343
344
345
@@ -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):