1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-04 19:21:46 +00:00

Fixes drag & drop in the file list

This commit is contained in:
groud
2018-09-27 13:54:09 +02:00
parent a2b6be23ad
commit 4f998faa2d

View File

@@ -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;
}