mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
switch to created auto playlist / station on creation
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user