Commits

Daniel Atallah committed db504d1

visdiff: actually use the descriptive window title that's being built

  • Participants
  • Parent commits 7cadb4b
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/visdiff.py

     def __init__(self, repo, pats, ctx1a, sa, ctx1b, sb, ctx2, cpy):
         'Initialize the Dialog'
         QDialog.__init__(self)
-        self.setWindowTitle(_('Visual Diffs'))
         self.curFile = None
 
         # TODO: Connect CTRL-D to row activation
         title = _('Visual Diffs - ') + title
         if pats:
             title += _(' filtered')
+        self.setWindowTitle(title)
 
         self.resize(400, 250)
         self.reponame = hglib.fromunicode(repo.displayname)