Commit 863b3479 authored by Kai Willadsen's avatar Kai Willadsen

dirdiff: Clear out message areas on refresh (bgo#752936)

parent 48527c49
......@@ -627,6 +627,8 @@ class DirDiff(melddoc.MeldDoc, gnomeglade.Component):
locations = [os.path.abspath(l) if l else '' for l in locations]
self.current_path = None
self.model.clear()
for m in self.msgarea_mgr:
m.clear()
for pane, loc in enumerate(locations):
if loc:
self.fileentry[pane].set_filename(loc)
......
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