Commit 0961ccf7 authored by Michael Natterer's avatar Michael Natterer 😴

Issue #1340 - Critical when editing input controllers

Don't pass a NULL widget to gimp_controller_list_edit_clicked().
Spotted by Massimo.
parent 40b09952
......@@ -541,7 +541,7 @@ gimp_controller_list_add_clicked (GtkWidget *button,
gimp_container_view_select_item (GIMP_CONTAINER_VIEW (list->dest),
GIMP_VIEWABLE (info));
gimp_controller_list_edit_clicked (NULL, list);
gimp_controller_list_edit_clicked (list->edit_button, list);
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment