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,8 +263,9 @@ class HgFileView(QFrame):
qsci.mouseMoveEvent(self.sci, event)
def leaveEvent(self, event):
self.lastrev = None
self.showDescSignal.emit('')
if self._mode == 'file' and self._annotate:
self.lastrev = None
self.showDescSignal.emit('')
def clearDisplay(self):
self.sci.clear()
......
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