]> git.0d.be Git - jack_mixer.git/commitdiff
Remove unuseful ctlgroup property
authorDaniel Sheeler <dsheeler@pobox.com>
Wed, 22 Jul 2020 06:14:48 +0000 (01:14 -0500)
committerDaniel Sheeler <dsheeler@pobox.com>
Wed, 22 Jul 2020 06:14:48 +0000 (01:14 -0500)
channel.py

index 6ece2c4ec79da41253bbdebbe12bac3e7da21467..e354536ce5023990b19a105aa0e76d194ff66a5f 100644 (file)
@@ -771,15 +771,15 @@ class OutputChannel(Channel):
         # add control groups to the input channels, and initialize them
         # appropriately
         for input_channel in self.app.channels:
         # add control groups to the input channels, and initialize them
         # appropriately
         for input_channel in self.app.channels:
-            input_channel.ctlgroup = input_channel.add_control_group(self)
+            ctlgroup = input_channel.add_control_group(self)
             if self._init_muted_channels and input_channel.channel.name in self._init_muted_channels:
             if self._init_muted_channels and input_channel.channel.name in self._init_muted_channels:
-                input_channel.ctlgroup.mute.set_active(True)
+                ctlgroup.mute.set_active(True)
             if self._init_solo_channels and input_channel.channel.name in self._init_solo_channels:
             if self._init_solo_channels and input_channel.channel.name in self._init_solo_channels:
-                input_channel.ctlgroup.solo.set_active(True)
+                ctlgroup.solo.set_active(True)
             if self._init_prefader_channels and input_channel.channel.name in self._init_prefader_channels:
             if self._init_prefader_channels and input_channel.channel.name in self._init_prefader_channels:
-                input_channel.ctlgroup.prefader.set_active(True)
+                ctlgroup.prefader.set_active(True)
             if not input_channel.wide:
             if not input_channel.wide:
-                input_channel.ctlgroup.narrow()
+                ctlgroup.narrow()
 
         self._init_muted_channels = None
         self._init_solo_channels = None
 
         self._init_muted_channels = None
         self._init_solo_channels = None