Skip to content

Commit

Permalink
nemo-list-view.c: Don't apply column-expand test unless there is
Browse files Browse the repository at this point in the history
a drag operation active.

This test also affects clicking on the expander.
  • Loading branch information
mtwebster committed Nov 13, 2023
1 parent b9d396e commit 95be8fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nemo-list-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -1789,6 +1789,10 @@ test_expand_row_callback (GtkTreeView *treeview,
{
NemoListView *view = NEMO_LIST_VIEW (user_data);

if (!view->details->drag_started) {
return ALLOW_EXPAND;
}

if (eel_gtk_get_treeview_row_text_is_under_pointer (view->details->tree_view)) {
return ALLOW_EXPAND;
}
Expand Down

0 comments on commit 95be8fd

Please sign in to comment.