diff options
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r-- | apps/root_menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index 5709e7ac42..56b9918c40 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -1011,7 +1011,9 @@ void root_menu(void) | |||
1011 | case make sure we preserve and restore the origin */ | 1011 | case make sure we preserve and restore the origin */ |
1012 | if (shortcut_origin != GO_TO_ROOT) | 1012 | if (shortcut_origin != GO_TO_ROOT) |
1013 | { | 1013 | { |
1014 | if (shortcut_origin != GO_TO_WPS) | 1014 | if(tree_get_context()->out_of_tree > 0) /* a shortcut has been selected */ |
1015 | next_screen = GO_TO_FILEBROWSER; | ||
1016 | else if (shortcut_origin != GO_TO_WPS) | ||
1015 | next_screen = shortcut_origin; | 1017 | next_screen = shortcut_origin; |
1016 | shortcut_origin = GO_TO_ROOT; | 1018 | shortcut_origin = GO_TO_ROOT; |
1017 | } | 1019 | } |