summaryrefslogtreecommitdiff
path: root/apps/menus/settings_menu.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-07-18 23:32:14 +0200
committerThomas Martitz <kugel@rockbox.org>2012-07-30 21:20:51 +0200
commit0a645d212c226da8f85b23125fb192fb94829628 (patch)
treef127844ead1797b0e84f31255e199d526b191812 /apps/menus/settings_menu.c
parent8c655cfdc09b0be326e7d9f190ae728d4e2bdc87 (diff)
autoresume: Use GUI browser instead of text entry to select autoresumable folders.
Change-Id: I89d78305410ed9a1f0a64433e9139592b12ad900
Diffstat (limited to 'apps/menus/settings_menu.c')
-rw-r--r--apps/menus/settings_menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c
index 9cdff01d86..495040d177 100644
--- a/apps/menus/settings_menu.c
+++ b/apps/menus/settings_menu.c
@@ -48,6 +48,7 @@
#ifdef HAVE_DIRCACHE
#include "dircache.h"
#endif
+#include "folder_select.h"
/***********************************/
/* TAGCACHE MENU */
@@ -534,8 +535,8 @@ static int autoresume_nexttrack_callback(int action,
break;
case ACTION_EXIT_MENUITEM:
if (global_settings.autoresume_automatic == AUTORESUME_NEXTTRACK_CUSTOM
- && kbd_input ((char*) &global_settings.autoresume_paths,
- MAX_PATHNAME+1) < 0)
+ && !folder_select(global_settings.autoresume_paths,
+ MAX_PATHNAME+1))
{
global_settings.autoresume_automatic = oldval;
}