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
This commit is contained in:
parent
422ea20cef
commit
939bd9c2c3
1 changed files with 2 additions and 1 deletions
|
@ -661,7 +661,8 @@ static enum pv_onplay_result onplay_menu(int index)
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
/* save playlist */
|
/* save playlist */
|
||||||
save_playlist_screen(viewer.playlist);
|
if (!save_playlist_screen(viewer.playlist))
|
||||||
|
dirty = false;
|
||||||
ret = PV_ONPLAY_UNCHANGED;
|
ret = PV_ONPLAY_UNCHANGED;
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
|
|
Loading…
Reference in a new issue