From 81914f466dcdbe596c12367abb96d2ad78deb383 Mon Sep 17 00:00:00 2001 From: John Renner Date: Tue, 20 Apr 2021 13:52:52 -0700 Subject: [PATCH] Allow repeated selection extension on gktlistbox --- gtk/gtklistbox.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtklistbox.c b/gtk/gtklistbox.c index c4cfe5e1f0..06e2342c59 100644 --- a/gtk/gtklistbox.c +++ b/gtk/gtklistbox.c @@ -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 {