13
0

missing drag-end (fix possible crash)

This commit is contained in:
Robin Gareus 2015-12-28 15:35:54 +01:00
parent e2f6c59639
commit 8e1a9f0ada

View File

@ -144,6 +144,7 @@ class /*LIBGTKMM2EXT_API*/ DnDTreeView : public DnDTreeViewBase
TreeView::on_drag_data_received (context, x, y, selection_data, info, time);
} else if (selection_data.get_target() == object_type) {
signal_drop (context, selection_data);
context->drag_finish (true, false, time);
} else {
/* some kind of target type added by the app, which will be handled by a signal handler */
}