From 4f998faa2d672b067c3e5fc583f3a6aa978059b1 Mon Sep 17 00:00:00 2001 From: groud Date: Thu, 27 Sep 2018 13:54:09 +0200 Subject: [PATCH] Fixes drag & drop in the file list --- editor/filesystem_dock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 607ced45739..4794d4d8a03 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -1859,7 +1859,7 @@ void FileSystemDock::_get_drag_target_folder(String &target, bool &target_favori } String ltarget = files->get_item_metadata(pos); - target = ltarget.ends_with("/") ? target : path; + target = ltarget.ends_with("/") ? ltarget : path; return; }