This instance will be upgraded to Heptapod 0.27.1 on 2021-12-02 at 15:00 UTC+1 (a few minutes of down time)

Commit 7f8cf4c4 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

annotate: fix typo of enabled

parent f9ff9db3ef59
......@@ -210,7 +210,7 @@ class AnnotateView(qscilib.Scintilla):
@pyqtSlot(bool)
def setAnnotationEnabled(self, enabled):
"""Enable / disable annotation"""
enable = bool(enabled)
enabled = bool(enabled)
if enabled == self.isAnnotationEnabled():
return
self._annotation_enabled = enabled
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment