diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-06-04 20:25:39 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-06-22 11:31:10 -0400 |
commit | 939bd9c2c3186ab4adca2efe85325314f04e53f7 (patch) | |
tree | f3165b8d3a98cb9b5d5955407c09053efd5d18d5 /apps/playlist_viewer.c | |
parent | 422ea20cefd4eb9fa95d283f50049f45dbf10e84 (diff) | |
download | rockbox-939bd9c2c3186ab4adca2efe85325314f04e53f7.tar.gz rockbox-939bd9c2c3186ab4adca2efe85325314f04e53f7.zip |
Playlist Viewer: Reset 'dirty' flag when saving playlist
Playlist Viewer, when quitting, should not ask
you to save a playlist that hasn't been modified
since it was last saved.
Change-Id: Ia401239392ba5f2d66562a991ba49b01c6c2d452
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r-- | apps/playlist_viewer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 28b919b008..3d530e791a 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c | |||
@@ -661,7 +661,8 @@ static enum pv_onplay_result onplay_menu(int index) | |||
661 | break; | 661 | break; |
662 | case 6: | 662 | case 6: |
663 | /* save playlist */ | 663 | /* save playlist */ |
664 | save_playlist_screen(viewer.playlist); | 664 | if (!save_playlist_screen(viewer.playlist)) |
665 | dirty = false; | ||
665 | ret = PV_ONPLAY_UNCHANGED; | 666 | ret = PV_ONPLAY_UNCHANGED; |
666 | break; | 667 | break; |
667 | case 7: | 668 | case 7: |