Permalink
Browse files

Bug fix

  • Loading branch information...
1 parent 23df3a3 commit 113ff4a4ffa29e02768c34b9785e6efd93d25c0d @shyam-habarakada committed Aug 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ShowFilenameInStatus.py
View
@@ -6,9 +6,9 @@ class ShowFilenameInStatus(sublime_plugin.EventListener):
def set_filename_status(self, view):
filename = os.path.split(view.file_name())[1]
if filename is None:
- view.erase_status(status_key)
+ view.erase_status(self.status_key)
else:
- view.set_status(status_key, "File: " + filename)
+ view.set_status(self.status_key, "File: " + filename)
def on_activated(self, view):
self.set_filename_status(view)

0 comments on commit 113ff4a

Please sign in to comment.