Commit e5d6090c authored by Theo Linkspfeifer's avatar Theo Linkspfeifer 💬 Committed by Alexander Schwinn
Browse files

Dont reduce selection in single click mode (Issue #71)

In order to prevent a crash
parent 55725a7e
Pipeline #11647 passed with stages
in 2 minutes and 55 seconds
......@@ -2511,10 +2511,12 @@ exo_icon_view_button_release_event (GtkWidget *widget,
exo_icon_view_item_activated (icon_view, path);
gtk_tree_path_free (path);
}
/* reduce the selection to just the clicked item */
exo_icon_view_unselect_all_internal (icon_view);
exo_icon_view_select_item (icon_view, item);
else
{
/* reduce the selection to just the clicked item */
exo_icon_view_unselect_all_internal (icon_view);
exo_icon_view_select_item (icon_view, item);
}
}
/* reset the last single clicked item */
......
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