Commit f294d5e1 authored by Michael Natterer's avatar Michael Natterer 😴

app: gimp_container_icon_view_select_item() must only select one item

Call gtk_icon_view_unselect_all() before gtk_icon_view_select_path()
or we end up with an unintended multi-selection.
parent 164de329
......@@ -543,6 +543,7 @@ gimp_container_icon_view_select_item (GimpContainerView *view,
gimp_container_icon_view_selection_changed,
icon_view);
gtk_icon_view_unselect_all (icon_view->view);
gtk_icon_view_select_path (icon_view->view, path);
gtk_icon_view_set_cursor (icon_view->view, path, NULL, FALSE);
......
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