diff options
-rw-r--r-- | src/tab.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -181,6 +181,9 @@ create_tab_list(MqTab *tab) gtk_tree_selection_set_mode(tree_selection, GTK_SELECTION_BROWSE); gtk_tree_view_set_model(GTK_TREE_VIEW(tree_view), create_tree_model(tab)); + gtk_tree_selection_select_path(tree_selection, + gtk_tree_path_new_from_indices( + mq_window_get_current_tab(tab->window) - 1, -1)); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(tree_view), FALSE); gtk_tree_view_set_activate_on_single_click(GTK_TREE_VIEW(tree_view), TRUE); |