diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/widgets/ephy-node-view.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c index 1c36a7768..435974b5e 100644 --- a/lib/widgets/ephy-node-view.c +++ b/lib/widgets/ephy-node-view.c @@ -739,7 +739,11 @@ did_not_drag (EphyNodeView *view, gtk_tree_selection_path_is_selected (selection, path) && !button_event_modifies_selection (event)) { - gtk_tree_selection_unselect_all (selection); + if (gtk_tree_selection_get_mode (selection) == GTK_SELECTION_MULTIPLE) + { + gtk_tree_selection_unselect_all (selection); + } + gtk_tree_selection_select_path (selection, path); } |