diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-03-11 13:33:22 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-03-11 13:33:22 +0100 |
commit | b720cdd388976778f2b9948fc2972f34624d1792 (patch) | |
tree | 7541ebc7ba33331537d71055e3e4112319b4331b /src/totem-playlist.c | |
parent | b67b31b5c25c1358169523003701bde99dbd70a4 (diff) | |
download | totem-b720cdd388976778f2b9948fc2972f34624d1792.tar.gz |
main: Don't save empty playlists
Diffstat (limited to 'src/totem-playlist.c')
-rw-r--r-- | src/totem-playlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/totem-playlist.c b/src/totem-playlist.c index c751d92a7..b65c74653 100644 --- a/src/totem-playlist.c +++ b/src/totem-playlist.c @@ -447,7 +447,7 @@ totem_playlist_save_session_playlist (TotemPlaylist *playlist, * even to remove the existing session */ return; } - if (!playlist->priv->save) { + if (!playlist->priv->save || PL_LEN == 0) { GFile *file; |