diff --git a/es-core/src/components/primary/CarouselComponent.h b/es-core/src/components/primary/CarouselComponent.h index 14b20ed40..4d388f8fd 100644 --- a/es-core/src/components/primary/CarouselComponent.h +++ b/es-core/src/components/primary/CarouselComponent.h @@ -1057,7 +1057,7 @@ template void CarouselComponent::onCursorChanged(const CursorSta GuiComponent::setAnimation(anim, 0, nullptr, false, 0); - if (mCursorChangedCallback) + if (mCursorChangedCallback && !mEntries.empty()) mCursorChangedCallback(state); }