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

status: connect F5 keypress to refresh

Changeset 89f77c3ccbf0

Parent fa8ec806f677

by Steve Borho

Changes to one file · Browse files at 89f77c3ccbf0 Showing diff from parent fa8ec806f677 Diff from another changeset...

 
86
87
88
 
 
 
 
 
 
 
 
89
90
91
 
86
87
88
89
90
91
92
93
94
95
96
97
98
99
@@ -86,6 +86,14 @@
  self.refreshWctx()   self.updateModel()   + def keyPressEvent(self, event): + if event.key() == Qt.Key_F5: + self.te.clear() + self.refreshWctx() + self.updateModel() + else: + return super(StatusWidget, self).keyPressEvent(event) +   def refreshWctx(self):   hglib.invalidaterepo(self.repo)   extract = lambda x, y: dict(zip(x, map(y.get, x)))