Changeset bc387b3b539a…
Parent 40042eaceac5…
by
Changes to one file · Browse files at bc387b3b539a Showing diff from parent 40042eaceac5 Diff from another changeset...
@@ -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()
|
Loading...