diff options
author | moimadmax <moimadmax@users.noreply.github.com> | 2016-09-22 16:06:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-22 16:06:35 +0200 |
commit | 26235b7fc9e2ac3c0c8a8934ac662c04cdc48130 (patch) | |
tree | 437fe9e82ca22bd5033aa0bde22e248e1d9c547b /parrot_zik/interface | |
parent | d588e452632aa520b33bccd88e012fbc6ce126e5 (diff) | |
download | pyParrotZikTCP-26235b7fc9e2ac3c0c8a8934ac662c04cdc48130.tar.xz pyParrotZikTCP-26235b7fc9e2ac3c0c8a8934ac662c04cdc48130.zip |
Typo Noise Calcelation -> Cancelation
Just a Typo in the menu string and variable name.
Diffstat (limited to 'parrot_zik/interface')
-rw-r--r-- | parrot_zik/interface/version2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/parrot_zik/interface/version2.py b/parrot_zik/interface/version2.py index e6076ed..e3ad474 100644 --- a/parrot_zik/interface/version2.py +++ b/parrot_zik/interface/version2.py @@ -21,7 +21,7 @@ class ParrotZikVersion2Interface(ParrotZikBaseInterface): self.noise_cancelation.set_submenu(self.noise_cancelation_submenu) self.noise_control_cancelation_max = MenuItem( - "Max Calcelation", functools.partial( + "Max Cancelation", functools.partial( self.toggle_noise_cancelation, NoiseControlTypes.NOISE_CONTROL_MAX), checkitem=True) self.noise_control_cancelation_on = MenuItem( @@ -209,10 +209,10 @@ class ParrotZikVersion2Interface(ParrotZikBaseInterface): for angle, menu_item in angle_to_menuitem_map: menu_item.set_active(angle == active_angle) - def toggle_noise_cancelation(self, noise_calcelation, widget): + def toggle_noise_cancelation(self, noise_cancelation, widget): try: if not self.noise_cancelation_dirty: - self.parrot.noise_control = noise_calcelation + self.parrot.noise_control = noise_cancelation self.noise_cancelation_dirty = True self._read_noise_cancelation() self.noise_cancelation_dirty = False |