Fix crash because i forgot to continue keeping the playlist thats selected in add music

This commit is contained in:
csd4ni3l
2025-07-27 12:41:28 +02:00
parent be9f8ed773
commit 3e9a1d7e76
2 changed files with 6 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ class AddMusic(arcade.gui.UIView):
self.anchor.detect_focusable_widgets()
def select_file(self):
self.window.show_view(FileManager(os.path.expanduser("~"), [f".{extension}" for extension in audio_extensions], "file", self.pypresence_client, self.playlist_selected, *self.args))
self.window.show_view(FileManager(os.path.expanduser("~"), [f".{extension}" for extension in audio_extensions], "file", self.pypresence_client, *self.args, playlist_selected=self.playlist_option.value))
def add_music(self):
music_path = self.music_file_selected