Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bug fix

  • Loading branch information...
commit 113ff4a4ffa29e02768c34b9785e6efd93d25c0d 1 parent 23df3a3
shyam-habarakada authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 ShowFilenameInStatus.py
4 ShowFilenameInStatus.py
@@ -6,9 +6,9 @@ class ShowFilenameInStatus(sublime_plugin.EventListener):
6 6 def set_filename_status(self, view):
7 7 filename = os.path.split(view.file_name())[1]
8 8 if filename is None:
9   - view.erase_status(status_key)
  9 + view.erase_status(self.status_key)
10 10 else:
11   - view.set_status(status_key, "File: " + filename)
  11 + view.set_status(self.status_key, "File: " + filename)
12 12
13 13 def on_activated(self, view):
14 14 self.set_filename_status(view)

0 comments on commit 113ff4a

Please sign in to comment.
Something went wrong with that request. Please try again.