Commit 622d1abc authored by Cosimo Cecchi's avatar Cosimo Cecchi

list-view: don't start DnD when dragging an expander

Avoid making expanders in list view drag sources.
parent 18a380af
......@@ -832,7 +832,7 @@ button_press_callback (GtkWidget *widget, GdkEventButton *event, gpointer callba
gtk_widget_grab_focus (widget);
}
if (is_simple_click) {
if (is_simple_click && !on_expander) {
view->details->drag_started = FALSE;
view->details->drag_button = event->button;
view->details->drag_x = event->x;
......
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