Merge branch 'gtk4-listbox-selection' into 'master'

Allow repeated selection extension on gtklistbox

Closes #3887

See merge request GNOME/gtk!3461
This commit is contained in:
Matthias Clasen 2021-04-22 23:29:45 +00:00
commit 13f9ca60d5

View File

@ -1782,7 +1782,10 @@ gtk_list_box_update_selection_full (GtkListBox *box,
g_signal_emit (box, signals[ROW_SELECTED], 0, row);
}
else
gtk_list_box_select_all_between (box, selected_row, row, FALSE);
{
gtk_list_box_select_all_between (box, selected_row, row, FALSE);
box->selected_row = selected_row;
}
}
else
{