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

status: add a method for querying checked files

Changeset c183946c6e51

Parent ff65de6a4ba7

by Steve Borho

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

 
244
245
246
 
 
 
 
 
 
 
247
248
249
 
244
245
246
247
248
249
250
251
252
253
254
255
256
@@ -244,6 +244,13 @@
  def isMerge(self):   return bool(self.wctx.p2())   + def getChecked(self): + if self.tv.model(): + checked = self.tv.model().getChecked() + return [f for f, v in checked.iteritems() if v] + else: + return [] +   def rowSelected(self, index):   'Connected to treeview "clicked" signal'   self.curRow = None