filechooser: Use SELECTION_SINGLE
We want to allow people to unselect the item.
This commit is contained in:
parent
e7e86ba5f4
commit
feb1f8de1c
@ -5196,7 +5196,7 @@ set_select_multiple (GtkFileChooserDefault *impl,
|
||||
if (select_multiple == impl->select_multiple)
|
||||
return;
|
||||
|
||||
mode = select_multiple ? GTK_SELECTION_MULTIPLE : GTK_SELECTION_BROWSE;
|
||||
mode = select_multiple ? GTK_SELECTION_MULTIPLE : GTK_SELECTION_SINGLE;
|
||||
|
||||
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (impl->browse_files_tree_view));
|
||||
gtk_tree_selection_set_mode (selection, mode);
|
||||
|
Loading…
Reference in New Issue
Block a user