X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fomnplay.cpp;h=3b32b4ca21feaff94d7352e6dee50aba663096c1;hb=b8d6baf21a4e1c3eeebc01e8a366d0cb0bf75f4c;hp=18ea9785052c5d1c17413eef963a9b92e7fad441;hpb=3b734bdf296b2d0888924661c6bffeeb62088996;p=melted_gui diff --git a/src/omnplay.cpp b/src/omnplay.cpp index 18ea978..3b32b4c 100644 --- a/src/omnplay.cpp +++ b/src/omnplay.cpp @@ -629,7 +629,7 @@ static void omnplay_playlist_insert_items(omnplay_instance_t* app, int idx, omnplay_playlist_draw(app); /* select */ - path = gtk_tree_path_new_from_indices(idx + count, -1); + path = gtk_tree_path_new_from_indices(idx, -1); gtk_tree_selection_select_path(gtk_tree_view_get_selection(GTK_TREE_VIEW(app->playlist_grid)), path); gtk_tree_view_set_cursor(GTK_TREE_VIEW(app->playlist_grid), path, NULL, FALSE); gtk_tree_path_free(path);