aboutsummaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/base/UPlaylist.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/UPlaylist.pas b/src/base/UPlaylist.pas
index 03ae2ffb..188b02a6 100644
--- a/src/base/UPlaylist.pas
+++ b/src/base/UPlaylist.pas
@@ -350,7 +350,7 @@ begin
Inc(I);
PlaylistFile := PlaylistPath.Append(Name + InttoStr(I) + '.upl');
end;
- Playlists[Result].Filename := PlaylistFile;
+ Playlists[Result].Filename := PlaylistFile.GetName;
//Save new Playlist
SavePlayList(Result);