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

status: make WctxModel return 0 for the number of child

Changeset cf485cb9587e

Parent a10d04fe67d7

by Yuya Nishihara

Changes to one file · Browse files at cf485cb9587e Showing diff from parent a10d04fe67d7 Diff from another changeset...

 
617
618
619
 
 
620
621
622
 
 
623
624
625
 
617
618
619
620
621
622
623
624
625
626
627
628
629
@@ -617,9 +617,13 @@
  self.rows = rows     def rowCount(self, parent): + if parent.isValid(): + return 0 # no child   return len(self.rows)     def columnCount(self, parent): + if parent.isValid(): + return 0 # no child   return len(self.headers)     def data(self, index, role):