WIP V3: marn new playlist as open
This commit is contained in:
parent
8f2ab98be0
commit
77774dc403
@ -564,7 +564,11 @@ class Window(QMainWindow, Ui_MainWindow):
|
|||||||
return None
|
return None
|
||||||
playlist = Playlists(session, playlist_name)
|
playlist = Playlists(session, playlist_name)
|
||||||
|
|
||||||
return playlist
|
if playlist:
|
||||||
|
playlist.mark_open()
|
||||||
|
return playlist
|
||||||
|
|
||||||
|
return None
|
||||||
|
|
||||||
def create_and_show_playlist(self) -> None:
|
def create_and_show_playlist(self) -> None:
|
||||||
"""Create new playlist and display it"""
|
"""Create new playlist and display it"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user