diff options
author | 2010-04-15 22:07:28 +0200 | |
---|---|---|
committer | 2010-04-15 22:07:28 +0200 | |
commit | db25ef2216cc7e5ba9d7ff7c30ac3b184ee11577 (patch) | |
tree | 0033f905b14f9cfc854433a9a9b9cdeef9670edc /plugins/gtkui/fileman.c | |
parent | e575295f6e6e85b8a408347ab4536720ccb26ed2 (diff) |
multiple drag-n-drop improvements
Diffstat (limited to 'plugins/gtkui/fileman.c')
-rw-r--r-- | plugins/gtkui/fileman.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gtkui/fileman.c b/plugins/gtkui/fileman.c index 8ef81238..0a5fb851 100644 --- a/plugins/gtkui/fileman.c +++ b/plugins/gtkui/fileman.c @@ -156,6 +156,10 @@ strcopy_special (char *dest, const char *src, int len) { static gboolean set_dnd_cursor_idle (gpointer data) { DdbListview *listview = DDB_LISTVIEW (lookup_widget (mainwin, "playlist")); + if (!data) { + ddb_listview_set_cursor (listview, -1); + return FALSE; + } int cursor = deadbeef->pl_get_idx_of (DB_PLAYITEM (data)); ddb_listview_set_cursor (listview, cursor); return FALSE; |