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

stable qreorder: showSummary can be called with item=None

Changeset bc387b3b539a

Parent 40042eaceac5

by Steve Borho

Changes to one file · Browse files at bc387b3b539a Showing diff from parent 40042eaceac5 Diff from another changeset...

 
174
175
176
177
178
 
 
 
 
 
179
180
181
 
174
175
176
 
 
177
178
179
180
181
182
183
184
@@ -174,8 +174,11 @@
  self.alw.setFocus()     def showSummary(self, item): - ctx = self.repo.changectx(item.patchname) - self.summ.setText(hglib.tounicode(ctx.description())) + if item is None: + self.summ.clear() + else: + ctx = self.repo.changectx(item.patchname) + self.summ.setText(hglib.tounicode(ctx.description()))     def accept(self):   self._writesettings()