mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-07 17:42:35 +02:00
switch to created auto playlist / station on creation
This commit is contained in:
parent
2d7b5d3910
commit
2612a4926e
@ -329,6 +329,7 @@ TomahawkWindow::createAutomaticPlaylist()
|
||||
dynplaylist_ptr playlist = DynamicPlaylist::create( author, id, name, info, creator, false );
|
||||
playlist->setMode( Static );
|
||||
playlist->createNewRevision( uuid(), playlist->currentrevision(), playlist->type(), playlist->generator()->controls(), playlist->entries() );
|
||||
PlaylistManager::instance()->show( playlist );
|
||||
}
|
||||
|
||||
|
||||
@ -347,6 +348,7 @@ TomahawkWindow::createStation()
|
||||
dynplaylist_ptr playlist = DynamicPlaylist::create( author, id, name, info, creator, false );
|
||||
playlist->setMode( OnDemand );
|
||||
playlist->createNewRevision( uuid(), playlist->currentrevision(), playlist->type(), playlist->generator()->controls() );
|
||||
PlaylistManager::instance()->show( playlist );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user