Commit 5a14ddb6 authored by Pierre-Luc Beaudoin's avatar Pierre-Luc Beaudoin

New calls in the calltree are selected from the start

parent 3eb5de5a
......@@ -422,6 +422,7 @@ update_call_tree_add (call_t * c)
{
GdkPixbuf *pixbuf;
GtkTreeIter iter;
GtkTreeSelection* sel;
// New call in the list
gchar * markup;
......@@ -466,8 +467,8 @@ update_call_tree_add (call_t * c)
g_object_unref(G_OBJECT(pixbuf));
//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();
//return row_ref;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment