diff --git a/thunar/thunar-history.c b/thunar/thunar-history.c index e9e7300..dbc6cfa 100644 --- a/thunar/thunar-history.c +++ b/thunar/thunar-history.c @@ -313,15 +313,10 @@ thunar_history_set_current_directory (ThunarNavigator *navigator, return; /* we try to be smart and check if the new current directory - * is the first element on either "back" or "forward" and if - * so, perform the appropriate operation. + * is the first element on "forward" and if so, perform the + * appropriate operation. */ - if (history->back_list != NULL && history->back_list->data == current_directory) - { - /* go back one step */ - thunar_history_go_back (history, 1); - } - else if (history->forward_list != NULL && history->forward_list->data == current_directory) + if (history->forward_list != NULL && history->forward_list->data == current_directory) { /* go forward one step */ thunar_history_go_forward (history, 1);