New template from manage templates correctly marked in db
This commit is contained in:
parent
67bf926ed8
commit
589a664971
@ -1413,6 +1413,7 @@ class Window(QMainWindow):
|
|||||||
# Create playlist for template and mark is as a template
|
# Create playlist for template and mark is as a template
|
||||||
template = self._create_playlist(session, name, template_id)
|
template = self._create_playlist(session, name, template_id)
|
||||||
template.is_template = True
|
template.is_template = True
|
||||||
|
session.commit()
|
||||||
|
|
||||||
# Open it for editing
|
# Open it for editing
|
||||||
self._open_playlist(template, is_template=True)
|
self._open_playlist(template, is_template=True)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user