diff options
Diffstat (limited to 'apps/tagtree.c')
-rw-r--r-- | apps/tagtree.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c index 627cad3817..3562a48a5a 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c | |||
@@ -1497,16 +1497,8 @@ int tagtree_enter(struct tree_context* c) | |||
1497 | c->dirlevel--; | 1497 | c->dirlevel--; |
1498 | /* about to create a new current playlist... | 1498 | /* about to create a new current playlist... |
1499 | allow user to cancel the operation */ | 1499 | allow user to cancel the operation */ |
1500 | if (global_settings.warnon_erase_dynplaylist && | 1500 | if (!warn_on_pl_erase()) |
1501 | !global_settings.party_mode && | 1501 | break; |
1502 | playlist_modified(NULL)) | ||
1503 | { | ||
1504 | static const char *lines[]={ID2P(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; | ||
1505 | static const struct text_message message={lines, 1}; | ||
1506 | |||
1507 | if (gui_syncyesno_run(&message, NULL, NULL) != YESNO_YES) | ||
1508 | break; | ||
1509 | } | ||
1510 | 1502 | ||
1511 | if (tagtree_play_folder(c) >= 0) | 1503 | if (tagtree_play_folder(c) >= 0) |
1512 | rc = 2; | 1504 | rc = 2; |