app: fix dragging color boxes into item dockables.

Commit 83b3d9e5 broke dragging color widgets into channels dockables or
other item dockables.
Thanks to Massimo for raising that these lines were needed for this.
This commit is contained in:
Jehan 2021-09-26 17:06:57 +02:00
parent 6374481f4f
commit 78d9f9799f
1 changed files with 7 additions and 0 deletions

View File

@ -540,6 +540,13 @@ gimp_container_tree_view_drag_drop (GtkWidget *widget,
gtk_drag_finish (context, success, FALSE, time);
g_list_free (src_viewables);
}
else
{
/* Necessary for instance for dragging color components onto
* item dialogs.
*/
gtk_drag_get_data (widget, context, target, time);
}
return TRUE;
}