summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/scenes_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/scenes_dock.cpp b/tools/editor/scenes_dock.cpp
index ee4258145e..ec2f7e293c 100644
--- a/tools/editor/scenes_dock.cpp
+++ b/tools/editor/scenes_dock.cpp
@@ -1335,7 +1335,7 @@ void ScenesDock::drop_data_fw(const Point2& p_point,const Variant& p_data,Contro
int at_pos = files->get_item_at_pos(p_point);
ERR_FAIL_COND(at_pos==-1);
- String to_dir = files->get_item_metadata(at_pos);
+ to_dir = files->get_item_metadata(at_pos);
} else {
TreeItem *ti = tree->get_item_at_pos(p_point);
if (!ti)