Merge branch 'sounddevice' into dev
This commit is contained in:
commit
4fe6e9186c
@ -883,12 +883,12 @@ class Window(QMainWindow, Ui_MainWindow):
|
|||||||
|
|
||||||
# Need to ensure that the new playlist is committed to
|
# Need to ensure that the new playlist is committed to
|
||||||
# the database before it is opened by the model.
|
# the database before it is opened by the model.
|
||||||
|
|
||||||
session.commit()
|
session.commit()
|
||||||
if playlist:
|
if playlist:
|
||||||
log.error("Playlist failed to create")
|
|
||||||
playlist.mark_open()
|
playlist.mark_open()
|
||||||
self.create_playlist_tab(playlist)
|
self.create_playlist_tab(playlist)
|
||||||
|
else:
|
||||||
|
log.error("Playlist failed to create")
|
||||||
|
|
||||||
def open_playlist(self) -> None:
|
def open_playlist(self) -> None:
|
||||||
"""Open existing playlist"""
|
"""Open existing playlist"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user