Yuya Nishihara  committed ed10561

commit: remove closeEvent() handler so that event can be propagated to QDialog

Since our closeEvent() doesn't call super, it skips done() and fails to emit
finished signal.

This override isn't necessary because closeEvent() calls reject() by default.

  • Participants
  • Parent commits f1c5c41
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

         if self.promptExit():
-    def closeEvent(self, event):
-        if not self.promptExit():
-            event.ignore()
 def run(ui, *pats, **opts):
     from tortoisehg.util import paths
     from tortoisehg.hgqt import thgrepo