summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2023-10-29 01:21:53 +0200
committerChristian Soffke <christian.soffke@gmail.com>2023-10-29 01:29:18 +0200
commit954dd0ff758b7ec95e387cca9124529c63339791 (patch)
tree242643371244154daa8c0fbf5e1b894a4d4f104e
parentbdec7ed31b4bef2189f7e4a59abda74166f562a5 (diff)
downloadrockbox-954dd0ff75.tar.gz
rockbox-954dd0ff75.zip
Playlist Viewer: Don't set unmodified after saving
90e3571 has made this redundant Change-Id: Ic5cc374712d5eddfd4bd53ed083fa9ec2c5777c6
-rw-r--r--apps/playlist_viewer.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index 8219aa5feb..608a90340e 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -658,15 +658,7 @@ static enum pv_onplay_result onplay_menu(int index)
ret = PV_ONPLAY_CHANGED;
break;
case 6:
- /* save playlist */
- if (!save_playlist_screen(viewer.playlist) && viewer.playlist)
- /*
- * Set unmodified unless it's the current playlist, which may
- * contain queued songs that aren't saved to the playlist file
- * TODO: This can be removed once g5192 is merged,
- * "playlist: Rewrite playlist_save(), optimization & fixes"
- */
- playlist_set_modified(viewer.playlist, false);
+ save_playlist_screen(viewer.playlist);
ret = PV_ONPLAY_UNCHANGED;
break;
case 7: