Made playlists load on click if they weren't.

Also set default for setting "load_on_start" to False because with this change, it feels a lot cleaner this way and uses less RAM.
This commit is contained in:
The Wobbler 2025-02-27 17:26:33 +01:00
parent 4dc1caab6e
commit 3fd29bcf92
3 changed files with 7 additions and 2 deletions

View file

@ -32,6 +32,9 @@ class PlaylistTabBar(QTabBar):
playlist_view = self.tab_widget.widget(index)
playlist = playlist_view.playlist
if not playlist.loaded:
playlist.load()
self.app.gui.clicked_playlist = playlist
def on_doubleclick(self, index):