Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

manifestdialog: emit finished signal so that qtrun() deletes it later

Changeset 28dcda26b8a0

Parent 5d968614c808

by Yuya Nishihara

Changes to one file · Browse files at 28dcda26b8a0 Showing diff from parent 5d968614c808 Diff from another changeset...

 
26
27
28
 
 
 
29
30
31
 
59
60
61
 
62
63
64
 
26
27
28
29
30
31
32
33
34
 
62
63
64
65
66
67
68
@@ -26,6 +26,9 @@
  """   Qt4 dialog to display all files of a repo at a given revision   """ + + finished = pyqtSignal(int) +   def __init__(self, ui, repo, rev=None, parent=None):   QMainWindow.__init__(self, parent)   self._repo = repo @@ -59,6 +62,7 @@
  def closeEvent(self, event):   self._writesettings()   super(ManifestDialog, self).closeEvent(event) + self.finished.emit(0) # mimic QDialog exit     def _readsettings(self):   s = QSettings()