From 550ebc0e49681caa8ed9b0c64f657a91a06b1a83 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 12 Sep 2014 04:08:40 +0200 Subject: [PATCH] (Menu) Fix case where we load content with 'Load Content' --- frontend/menu/backend/menu_common_backend.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/menu/backend/menu_common_backend.c b/frontend/menu/backend/menu_common_backend.c index a75b7e759c..7fd1e177ff 100644 --- a/frontend/menu/backend/menu_common_backend.c +++ b/frontend/menu/backend/menu_common_backend.c @@ -1426,6 +1426,15 @@ static int menu_action_ok(const char *menu_path, menu_flush_stack_type(driver.menu->menu_stack,MENU_SETTINGS); return -1; } + else + { + fill_pathname_join(g_extern.fullpath, menu_path, path, + sizeof(g_extern.fullpath)); + + menu_common_load_content(); + + return -1; + } return 0; @@ -1568,15 +1577,6 @@ static int menu_action_ok(const char *menu_path, menu_entries_push(driver.menu->menu_stack, cat_path, menu_label, type, driver.menu->selection_ptr); } - else - { - fill_pathname_join(g_extern.fullpath, menu_path, path, - sizeof(g_extern.fullpath)); - - menu_common_load_content(); - - return -1; - } return 0; }