Commit cac6c986 authored by Tusooa Zhu's avatar Tusooa Zhu

Ignore old configurations in mixer slider docker

parent 134d9e3f
......@@ -56,6 +56,8 @@ class MixerSliderDocker(DockWidget):
for line in settings.split(";"):
colors = line.split('|')
if len(colors) < 2: # discard old configurations
left_color = self.parse_color(colors[0].split(','))
right_color = self.parse_color(colors[1].split(','))
widget = SliderLine(left_color, right_color, self)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment