@MEsc said in How to stop an animation when a new one starts c++:
It should first check if QLineEdit is empty and if not then stop the animation(
So change the order - I mean you're the programmer who programmed it so first checking for the QLineEdit and then doing something other shouldn't be that hard to add.