Changeset 8cac56f8f41e…
Parent 5bca3163dfc3…
by
Changes to one file · Browse files at 8cac56f8f41e Showing diff from parent 5bca3163dfc3 Diff from another changeset...
@@ -381,7 +381,10 @@ l = []
for c in func(self.repo, range(len(self.repo))):
l.append(c)
- self.showMessage.emit(_('%d matches found') % len(l))
+ if len(l):
+ self.showMessage.emit(_('%d matches found') % len(l))
+ else:
+ self.showMessage.emit(_('No matches found'))
self.queryIssued.emit(self.query, l)
except error.ParseError, e:
if len(e.args) == 2:
|
Loading...