summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-04-05 01:25:54 +0200
committerGitHub <noreply@github.com>2017-04-05 01:25:54 +0200
commite96f32945d31e0d5596b31b03c6353fd037624cb (patch)
tree1c6ed50399d024e30e2cba3eb01ac02ee4ce6df2
parent02f9851d0dd4ea43394cb49edae3f28550ba0b8d (diff)
parent9aa60ff15f048fc0301b9b2197c56c8100e6c185 (diff)
Merge pull request #8264 from MrMaidx/filesystem_popup_fix
Fix typo which caused popup to display on incorrect coordinates.
-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 fe1f984f39..3e0a2c712a 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();
}