Permalink
Browse files

fixing not loading live mode on startup in ST3, this is done by way o…

…f hack which defaults setting of live mode to True when the reading of config file fails.
  • Loading branch information...
1 parent 0f9908b commit dc903ce5675cc50e089f858bbedf4aadd2ff0968 @unphased unphased committed Mar 10, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 git_gutter_events.py
View
@@ -24,4 +24,6 @@ def on_activated(self, view):
def load_settings(self):
self.settings = sublime.load_settings('GitGutter.sublime-settings')
- self.live_mode = self.settings.get('live_mode')
+ self.live_mode = self.settings.get('live_mode')
+ if self.live_mode is None:
+ self.live_mode = True

0 comments on commit dc903ce

Please sign in to comment.