diff --git a/ui/properties.py b/ui/properties.py index 414a93a..ec4e457 100644 --- a/ui/properties.py +++ b/ui/properties.py @@ -501,7 +501,10 @@ class VSETB_PGT_strip_settings(PropertyGroup): @property def active_casting(self): - return self.casting[self.casting_index] + try: + self.casting[self.casting_index] + except KeyError: + return classes = ( Asset,