summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-27 14:12:43 +0200
committerGitHub <noreply@github.com>2018-09-27 14:12:43 +0200
commitcb5a62903f9798da8b12f625cbd5a493f14e41d3 (patch)
tree443034fb521c5ca624b1bac92cadfcd6d953d546 /editor
parent2893b5a6bee1f1185c52d4a46734b2741acbb52c (diff)
parent4f998faa2d672b067c3e5fc583f3a6aa978059b1 (diff)
Merge pull request #22474 from groud/fix_drag_drop_file_list
Fixes drag & drop in the file list
Diffstat (limited to 'editor')
-rw-r--r--editor/filesystem_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 607ced4573..4794d4d8a0 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;
}