Read about our upcoming Code of Conduct on this issue

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): ...@@ -210,7 +210,7 @@ class AnnotateView(qscilib.Scintilla):
@pyqtSlot(bool) @pyqtSlot(bool)
def setAnnotationEnabled(self, enabled): def setAnnotationEnabled(self, enabled):
"""Enable / disable annotation""" """Enable / disable annotation"""
enable = bool(enabled) enabled = bool(enabled)
if enabled == self.isAnnotationEnabled(): if enabled == self.isAnnotationEnabled():
return return
self._annotation_enabled = enabled 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