Skip to content

Commit

Permalink
Remember the last position also if exit without ask user
Browse files Browse the repository at this point in the history
  • Loading branch information
Taapat committed Jul 8, 2020
1 parent a9d7669 commit bfd3f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/YouTubeUi.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def leavePlayer(self):
self.session.openWithCallback(self.leavePlayerConfirmed,
ChoiceBox, title=title, list=list)
else:
self.close()
self.leavePlayerConfirmed([None, 'quit'])

def leavePlayerConfirmed(self, answer):
if answer and answer[1] != 'continue':
Expand Down

0 comments on commit bfd3f9b

Please sign in to comment.