show current filepath in status bar

Showing the filename is useful when looking at multiple .mitm files
simultaneously.
This commit is contained in:
Bryan Bishop 2012-12-26 22:14:39 -06:00
parent 0451eb193e
commit bf8367d6cf

View File

@ -195,6 +195,9 @@ class StatusBar(common.WWrap):
if self.master.stream: if self.master.stream:
r.append("[W:%s]"%self.master.stream_path) r.append("[W:%s]"%self.master.stream_path)
if self.master.state.last_saveload:
r.append("[%s]"%self.master.state.last_saveload)
return r return r
def redraw(self): def redraw(self):