mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Replace "Reload After Saving" with option to remove queued tracks
The "Reload After Saving" setting was added in g3347 (4f83e66
) to solve FS#13287, by allowing you to bookmark a modified playlist after saving, without having to manually reload it first. Since the rewrite of playlist_save in g5192 (90e3571
), a modified playlist doesn't have to be reloaded anymore in order to be bookmarked after it's been saved, unless it contains queued tracks. To cover the remaining use cases of the previously available option, Rockbox will now offer to remove any queued tracks from a playlist when saving it. Change-Id: I2d6f12bcce14d8ff41a4d921ce84d628774103ac
This commit is contained in:
parent
e5c65a0039
commit
ea5ce8034b
15 changed files with 69 additions and 90 deletions
|
@ -1235,6 +1235,13 @@ int confirm_overwrite_yesno(void)
|
|||
return gui_syncyesno_run(&message, NULL, NULL);
|
||||
}
|
||||
|
||||
int confirm_remove_queued_yesno(void)
|
||||
{
|
||||
static const char *lines[] = { ID2P(LANG_REMOVE_QUEUED_TRACKS) };
|
||||
static const struct text_message message = { lines, 1 };
|
||||
return gui_syncyesno_run(&message, NULL, NULL);
|
||||
}
|
||||
|
||||
/* time_split_units()
|
||||
split time values depending on base unit
|
||||
unit_idx: UNIT_HOUR, UNIT_MIN, UNIT_SEC, UNIT_MS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue