aboutsummaryrefslogtreecommitdiff
path: root/ParrotZikTray
diff options
context:
space:
mode:
authorMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-14 13:18:42 +0200
committerMarek Siarkowicz <mareksiarkowicz@gmail.com>2015-06-14 13:18:42 +0200
commit8c69b3c2caf7703162a50696ac6ab70facca2154 (patch)
treeaee350c9954da3d68cb6caec76ca874354c2a577 /ParrotZikTray
parentf6a0309a3d00b7f80f41bfdf5a7d48fa8ae6f71a (diff)
downloadpyParrotZikTCP-8c69b3c2caf7703162a50696ac6ab70facca2154.tar.xz
pyParrotZikTCP-8c69b3c2caf7703162a50696ac6ab70facca2154.zip
Fix noise cancelation.
Diffstat (limited to 'ParrotZikTray')
-rwxr-xr-xParrotZikTray4
1 files changed, 2 insertions, 2 deletions
diff --git a/ParrotZikTray b/ParrotZikTray
index 3b61754..61f76ab 100755
--- a/ParrotZikTray
+++ b/ParrotZikTray
@@ -338,8 +338,8 @@ class ParrotZikVersion2Interface(ParrotZikBaseInterface):
def toggleANC(self, widget):
if self.connected:
- self.parrot.noise_cancel = self.noise_cancelation.get_active()
- self.noise_cancelation.set_active(self.parrot.noise_cancel)
+ self.parrot.noise_cancel = self.noise_cancelation_enabled.get_active()
+ self.noise_cancelation_enabled.set_active(self.parrot.noise_cancel)
else:
self.deactivate()