Changeset 10855 for trunk/gtk/main.c


Ignore:
Timestamp:
Jun 25, 2010, 7:24:26 PM (12 years ago)
Author:
charles
Message:

(trunk gtk) #3345 "Remove button deselects selected torrents" -- fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r10818 r10855  
    15021502removeSelected( struct cbdata * data, gboolean delete_files )
    15031503{
    1504     GSList *           l = NULL;
     1504    GSList * l = NULL;
    15051505    GtkTreeSelection * s = tr_window_get_selection( data->wind );
    15061506
    15071507    gtk_tree_selection_selected_foreach( s, accumulateSelectedTorrents, &l );
    1508     gtk_tree_selection_unselect_all( s );
    1509     if( l )
    1510     {
     1508
     1509    if( l != NULL ) {
    15111510        l = g_slist_reverse( l );
    15121511        confirmRemove( data->wind, data->core, l, delete_files );
Note: See TracChangeset for help on using the changeset viewer.