forked from Wobbl/Wobuzz
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:
parent
4dc1caab6e
commit
3fd29bcf92
3 changed files with 7 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue