diff options
author | Martin Scarratt <mmmm@rockbox.org> | 2006-09-27 21:28:47 +0000 |
---|---|---|
committer | Martin Scarratt <mmmm@rockbox.org> | 2006-09-27 21:28:47 +0000 |
commit | c06eadb572a7314fb42f59c33060c6b148fdef8a (patch) | |
tree | 2a8d10488700814a26f198724a21d5c26ff756ce /apps/sound_menu.c | |
parent | 84cbab18da4b986e8bd3427cc9d3a5e9296fd4a5 (diff) |
If a directory is created in the recording screen, the dir browser needs refreshing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11080 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/sound_menu.c')
-rw-r--r-- | apps/sound_menu.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c index e80c2c0a3b..da779d9a30 100644 --- a/apps/sound_menu.c +++ b/apps/sound_menu.c @@ -520,13 +520,17 @@ static bool recprerecord(void) static bool recdirectory(void) { + bool ret; static const struct opt_items names[] = { { rec_base_directory, -1 }, { STR(LANG_RECORD_CURRENT_DIR) } }; - return set_option(str(LANG_RECORD_DIRECTORY), + ret = set_option(str(LANG_RECORD_DIRECTORY), &global_settings.rec_directory, INT, names, 2, NULL ); + set_recpath(); + + return ret; } static bool reconstartup(void) |