Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-06-25 15:07:02 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-06-25 15:07:02 (GMT)
commit6b753db043b9bd78f7edb8af1c74c77268584b69 (patch)
tree9de5cf254cdeee190530127c093a53bf5cc8ea88
parent887d33729b936c620a9fa6baff7c936d75844ea0 (diff)
used consistent referencing to channels
-rw-r--r--sensor_toolbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensor_toolbar.py b/sensor_toolbar.py
index d5e2cdd..a3ec822 100644
--- a/sensor_toolbar.py
+++ b/sensor_toolbar.py
@@ -313,7 +313,7 @@ of XO)") + ' '
def set_show_hide_windows(self, mode='sound'):
''' Shows the appropriate window identified by the mode '''
self.activity.wave.set_context_on()
- for i in range(self.activity.audiograb.channels):
+ for i in range(self._channels):
self.activity.side_toolbars[i].set_show_hide(True, mode)
def sensor_context_off(self):