mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 19:45:31 +01:00
Append playlist id to new playlists.
This commit is contained in:
parent
1254d025ab
commit
2c0b505b7b
@ -147,6 +147,11 @@ void PlaylistManager::New(const QString& name, const SongList& songs,
|
||||
playlist->InsertSongsOrLibraryItems(songs);
|
||||
|
||||
SetCurrentPlaylist(id);
|
||||
|
||||
// If the name is just "Playlist", append the id
|
||||
if (name == tr("Playlist")) {
|
||||
Rename(id, QString("%1 %2").arg(name).arg(id));
|
||||
}
|
||||
}
|
||||
|
||||
void PlaylistManager::Load(const QString& filename) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user