return False
with self.set_updating():
op = self.topLevelOperatorView
self.channel_box.setValue( op.ChannelSelection.value )
input_layer = self.getLayerByName("Input")
if input_layer:
input_layer.channel = op.ChannelSelection.value
After Change
op = self.topLevelOperatorView
channel_selections = op.ChannelSelections.value
for ch in range(op.Input.meta.shape[-1]):
self.channel_actions[ch].setChecked(ch in channel_selections)
if len(channel_selections) == 0: