X-Git-Url: https://scm.cri.mines-paristech.fr/git/minwii.git/blobdiff_plain/5034abc0164f6c09cb53291d2fe3e71c33cc4cf9..2798ab44c5aaa936357288377c1b73f8d21c4e1c:/src/minwii/app.py?ds=inline diff --git a/src/minwii/app.py b/src/minwii/app.py index ab10bdf..0129cec 100755 --- a/src/minwii/app.py +++ b/src/minwii/app.py @@ -110,7 +110,9 @@ class MinWii(object): self.screen = SCREEN_HOME exit, songFile, playMode, displayNotes, wiimoteIndex = \ self.selectSongAndOptions(songFile, playMode, displayNotes, wiimoteIndex) - if exit : break + if exit : + WT.quit() + break self.screen = SCREEN_INSTRUMENTS @@ -218,3 +220,5 @@ class _WTFacade : pass def get_count(self) : return None + def quit(self) : + pass