add default gridChange if missing

This commit is contained in:
j 2018-08-03 00:43:13 +02:00
parent c8b6699915
commit 9cc8609244

View file

@ -47,12 +47,12 @@ class Engine:
'screenings': {'locked': True, 'value': 2} 'screenings': {'locked': True, 'value': 2}
}, },
'globalKeywords': {}, 'globalKeywords': {},
'gridChange': { }
'nextClip': {'locked': False, 'value': 4}, if 'gridChange' not in self.state:
'nextPlaylist': {'locked': False, 'value': 4}, self.state['gridChange'] = {
'staySame': {'locked': False, 'value': 8} 'nextClip': {'locked': False, 'value': 4},
'nextPlaylist': {'locked': False, 'value': 4},
} 'staySame': {'locked': False, 'value': 8}
} }
self.update_keywords() self.update_keywords()