Commits

Yuya Nishihara committed 8467510

filerevmodel: avoid emitting filled of destroyed FileRevModel (fixes #2564)

See 43fada9fc1ce and fdde19e206c6 for details.

Comments (0)

Files changed (1)

tortoisehg/hgqt/filerevmodel.py

             # works with both versions.
             self.heads = [fl.index[fl.rev(x)][4] for x in fl.heads()]
             self.ensureBuilt(row=self.fill_step/2)
-            QTimer.singleShot(0, lambda: self.filled.emit())
+            QTimer.singleShot(0, self, SIGNAL('filled()'))
         else:
             self.graph = None
             self.heads = []