From d20c7f01cb55fe40dded4947fab620affa4763f2 Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Sat, 29 Nov 2025 15:00:38 +0000 Subject: [PATCH] widgets: Don't force selection of GimpRow As seen in the Welcome Dialog, if you have multi-selection in place for a ListBox and try to Ctrl-click another row, the call to gtk_list_box_select_row () will deselect the prior row unless you click on an area that's not covered by GimpRow. This patch removes the forced selection, with the assumption that the click will bubble through as normal to GtkListBox. --- app/widgets/gimprow.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/widgets/gimprow.c b/app/widgets/gimprow.c index 15f72714b3..797c3ae4ee 100644 --- a/app/widgets/gimprow.c +++ b/app/widgets/gimprow.c @@ -382,9 +382,6 @@ gimp_row_button_press_event (GtkWidget *widget, if (GTK_IS_LIST_BOX (list_box)) { - gtk_list_box_select_row (GTK_LIST_BOX (list_box), - GTK_LIST_BOX_ROW (widget)); - if (context_menu) { GtkWidget *editor = gtk_widget_get_ancestor (widget,