fix warning statement when there are no saved animation color schemes

This commit is contained in:
Sigma Dimensions (Yass)
2023-09-26 16:36:48 +01:00
parent 6b25a64976
commit 7f3559437f
@@ -556,7 +556,7 @@ class BIM_PT_animation_tools(Panel):
row = self.layout.row(align=True)
row.alignment = "RIGHT"
if self.animation_props.saved_color_schemes:
if AnimationColorSchemeData.data["saved_color_schemes"]:
row.prop(self.animation_props, "saved_color_schemes", text="Color Scheme", icon="SEQUENCE_COLOR_04")
else:
row.label(text="No Color Scheme Saved", icon="INFO")