File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1389,16 +1389,12 @@ static gboolean _event_enter_notify(GtkWidget *widget,
1389
1389
static gboolean _do_select_single (gpointer user_data )
1390
1390
{
1391
1391
dt_thumbtable_t * table = (dt_thumbtable_t * )user_data ;
1392
- const dt_imgid_t id = table -> to_selid ;
1393
1392
1394
1393
// always keep the edited picture selected
1395
- GList * sel = g_list_append (NULL , GINT_TO_POINTER (id ));
1396
- sel = g_list_append (sel , GINT_TO_POINTER (darktable .develop -> image_storage .id ));
1397
-
1398
1394
dt_selection_clear (darktable .selection );
1399
- dt_selection_select_list (darktable .selection , sel );
1395
+ dt_selection_select (darktable .selection , darktable .develop -> image_storage .id );
1396
+ dt_selection_select (darktable .selection , table -> to_selid );
1400
1397
table -> sel_single_cb = 0 ;
1401
- g_list_free (sel );
1402
1398
1403
1399
return FALSE;
1404
1400
}
You can’t perform that action at this time.
0 commit comments