diff --git a/styleplugins/chameleon/chameleonstyle.cpp b/styleplugins/chameleon/chameleonstyle.cpp index bce2fce..22f21e5 100644 --- a/styleplugins/chameleon/chameleonstyle.cpp +++ b/styleplugins/chameleon/chameleonstyle.cpp @@ -3051,7 +3051,7 @@ ChameleonMovementAnimation *ChameleonStyle::drawMenuItemBackground(const QStyleO ChameleonMovementAnimation *animation = nullptr; - if (animationTargetWidget) { + if (DGuiApplicationHelper::testAttribute(DGuiApplicationHelper::HasAnimations) && animationTargetWidget) { animation = animationTargetWidget->findChild("_d_menu_select_animation", Qt::FindDirectChildrenOnly); if (!animation) {