Skip to content
Snippets Groups Projects
Commit 5a14ddb6 authored by Pierre-Luc Beaudoin's avatar Pierre-Luc Beaudoin
Browse files

New calls in the calltree are selected from the start

parent 3eb5de5a
No related branches found
No related tags found
No related merge requests found
...@@ -422,6 +422,7 @@ update_call_tree_add (call_t * c) ...@@ -422,6 +422,7 @@ update_call_tree_add (call_t * c)
{ {
GdkPixbuf *pixbuf; GdkPixbuf *pixbuf;
GtkTreeIter iter; GtkTreeIter iter;
GtkTreeSelection* sel;
// New call in the list // New call in the list
gchar * markup; gchar * markup;
...@@ -466,8 +467,8 @@ update_call_tree_add (call_t * c) ...@@ -466,8 +467,8 @@ update_call_tree_add (call_t * c)
g_object_unref(G_OBJECT(pixbuf)); g_object_unref(G_OBJECT(pixbuf));
//g_free(markup); //g_free(markup);
sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(view));
gtk_tree_selection_select_iter(GTK_TREE_SELECTION(sel), &iter);
update_buttons(); update_buttons();
//return row_ref; //return row_ref;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment