From 9aa60ff15f048fc0301b9b2197c56c8100e6c185 Mon Sep 17 00:00:00 2001 From: Martin Novak Date: Wed, 5 Apr 2017 00:31:17 +0200 Subject: [PATCH] Fix typo which caused popup to display on incorrect coordinates. --- 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 fe1f984f392..3e0a2c712ab 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -1101,7 +1101,7 @@ void FileSystemDock::_dir_rmb_pressed(const Vector2 &p_pos) { folder_options->add_item(TTR("Expand all"), FOLDER_EXPAND_ALL); folder_options->add_item(TTR("Collapse all"), FOLDER_COLLAPSE_ALL); - folder_options->set_pos(files->get_global_pos() + p_pos); + folder_options->set_pos(tree->get_global_pos() + p_pos); folder_options->popup(); }