system = prefs.system
row = layout.row()
- row.prop(system, "edit_studio_light", toggle=True)
+ row.prop(system, "use_studio_light_edit", toggle=True)
row.operator("wm.studiolight_new", text="Save as Studio light", icon='FILE_TICK')
layout.separator()
layout.use_property_split = True
column = layout.split()
- column.active = system.edit_studio_light
+ column.active = system.use_studio_light_edit
light = system.solid_lights[0]
colsplit = column.split(factor=0.85)