Merge pull request #3732 from FinnStutzenstein/MotionProjectorFix

Fixed deleted comment fields
This commit is contained in:
Emanuel Schütze 2018-05-04 09:34:08 +02:00 committed by GitHub
commit 7b9d8d11a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,7 @@ class MotionSlide(ProjectorElement):
recommendation_field_id = None recommendation_field_id = None
for id, field in fields.items(): for id, field in fields.items():
if isinstance(field, dict):
if field.get('forState', False): if field.get('forState', False):
state_field_id = id state_field_id = id
if field.get('forRecommendation', False): if field.get('forRecommendation', False):