summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 0e2dcb6c87..b5673e681c 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -647,7 +647,8 @@ static bool dirbrowse(void)
647#endif 647#endif
648 button = get_action(CONTEXT_TREE,HZ/5); 648 button = get_action(CONTEXT_TREE,HZ/5);
649 returned_button = gui_synclist_do_button(&tree_lists, button); 649 returned_button = gui_synclist_do_button(&tree_lists, button);
650 need_update = (bool)returned_button; 650 if (returned_button)
651 need_update = true;
651 if (returned_button == ACTION_STD_CANCEL) 652 if (returned_button == ACTION_STD_CANCEL)
652 button = ACTION_STD_CANCEL; 653 button = ACTION_STD_CANCEL;
653 654