mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
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.
This commit is contained in:
parent
164de32998
commit
f294d5e1af
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue