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 635dff73b4
commit 5c2523e752
@@ -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")