1. Takayuki KONDO
  2. thg


Adrian Buehlmann  committed 36a2bd0

hgemail: do not close main dialog when emails sent

I often do a test send to myself before sending a patch
to the "real" recipient, so I would like to decide myself
when the main email dialog window should be closed.

This is especially important when I've written an intro.
If the dialog is closed on send implicitly, I do have to
enter the intro text again for the real send.

  • Participants
  • Parent commits 245bbfc
  • Branches stable
  • Tags 1.9.3

Comments (0)

Files changed (1)

File tortoisehg/hgqt/hgemail.py

View file
             if cmd.exec_():
-                super(EmailDialog, self).accept()
             if 'desc' in opts:
                 os.unlink(opts['desc'])  # TODO: don't use tempfile