Commit de24187d authored by Steve Borho's avatar Steve Borho
Browse files

fileview: only emit empty desc string on leave if annotating

This was causing messages to be cleared somewhat inexplicably.
parent 17c1e1724353
...@@ -263,6 +263,7 @@ class HgFileView(QFrame): ...@@ -263,6 +263,7 @@ class HgFileView(QFrame):
qsci.mouseMoveEvent(self.sci, event) qsci.mouseMoveEvent(self.sci, event)
def leaveEvent(self, event): def leaveEvent(self, event):
if self._mode == 'file' and self._annotate:
self.lastrev = None self.lastrev = None
self.showDescSignal.emit('') self.showDescSignal.emit('')
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