Skip to content

Commit 06eb601

Browse files
Pictor13DeathAxe
authored andcommitted
Fix property naming
that was not adjusted and still referencing the old private property leading to errors at runtime.
1 parent 4181ac2 commit 06eb601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/statusbar.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def template(self):
117117
def is_enabled(self):
118118
"""Return whether status bar text is enabled in settings or not."""
119119
enabled = self.settings.get('show_status_bar_text', False)
120-
if self.template and not enabled:
121-
self.template = None
120+
if self._template and not enabled:
121+
self._template = None
122122
self.vars['repo'] = None
123123
self.erase()
124124
return enabled

0 commit comments

Comments
 (0)