Commit 3d39b3b6 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

fileview: fix exception on connecting sourceChanged signal without line arg

parent b256a167a674
......@@ -415,6 +415,7 @@ class HgFileView(QFrame):
def nDiffs(self):
return len(self._diffs)
@pyqtSlot(unicode, object)
@pyqtSlot(unicode, object, int)
def sourceChanged(self, path, rev, line=None):
self.revForDiffChanged.emit(rev)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment