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

filelistmodel: emit contextChanged signal

Changeset e360b4613734

Parent 3d7e272e10c5

by Steve Borho

Changes to one file · Browse files at e360b4613734 Showing diff from parent 3d7e272e10c5 Diff from another changeset...

 
30
31
32
 
 
 
33
34
35
 
63
64
65
 
66
67
68
 
30
31
32
33
34
35
36
37
38
 
66
67
68
69
70
71
72
@@ -30,6 +30,9 @@
  """   Model used for listing (modified) files of a given Hg revision   """ + + contextChanged = pyqtSignal(object) +   def __init__(self, repo, parent=None):   """   data is a HgHLRepo instance @@ -63,6 +66,7 @@
  self._ctx = ctx   self.loadFiles()   self.layoutChanged.emit() + self.contextChanged.emit(ctx)     def flagFromIndex(self, index):   if not index.isValid() or index.row()>=len(self) or not self._ctx: