diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-27 14:12:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 14:12:43 +0200 |
commit | cb5a62903f9798da8b12f625cbd5a493f14e41d3 (patch) | |
tree | 443034fb521c5ca624b1bac92cadfcd6d953d546 | |
parent | 2893b5a6bee1f1185c52d4a46734b2741acbb52c (diff) | |
parent | 4f998faa2d672b067c3e5fc583f3a6aa978059b1 (diff) |
Merge pull request #22474 from groud/fix_drag_drop_file_list
Fixes drag & drop in the file list
-rw-r--r-- | editor/filesystem_dock.cpp | 2 |
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; } |