X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=helpers%2Faction.py;h=eaa419b8d10e237aefd2ec3d4949660d6779f834;hb=513226699e5cb5776bd71ee6bb2ada87a43c4dee;hp=247e0a9c50ff765cdf73d33490a5895930575a53;hpb=940ccd88e7757e9bbb43288ed53a4ec4804bfbe8;p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git diff --git a/helpers/action.py b/helpers/action.py index 247e0a9..eaa419b 100644 --- a/helpers/action.py +++ b/helpers/action.py @@ -95,6 +95,8 @@ class Action: if previous is not None: previous.stop(fade_out=fade_out) previous = music + else: + music.stop(fade_out=fade_out) if previous is not None: previous.stop(fade_out=fade_out, wait=wait)