Commits

Steve Borho committed da42974

tag: fix cut-paste error (closes #277)

My guess is that this bug prevented QDialog.reject() from being called, so the
dialog was not closed the first time. The second time reject() was called the
disconnect error was thrown, because the signal was already disconnected.

  • Participants
  • Parent commits 489db85
  • Branches stable

Comments (0)

Files changed (1)

tortoisehg/hgqt/tag.py

     def reject(self):
         # prevent signals from reaching deleted objects
         self.repo.repositoryChanged.disconnect(self.refresh)
-        super(BookmarkDialog, self).reject()
+        super(TagDialog, self).reject()
 
 def run(ui, *pats, **opts):
     kargs = {}