From 3cdcf02d1e18b5eb9d57cef46e654623fb779182 Mon Sep 17 00:00:00 2001 From: sersoong Date: Sat, 9 Dec 2017 10:33:28 +0800 Subject: Restored two items in filesystemdock menu --- editor/filesystem_dock.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index ca6571fdda..4a74ceac6d 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -1441,10 +1441,14 @@ void FileSystemDock::_files_list_rmb_select(int p_item, const Vector2 &p_pos) { if (!all_files_scenes && filenames.size() == 1) { file_options->add_item(TTR("Open"), FILE_OPEN); file_options->add_separator(); + } + + if (filenames.size() == 1) { file_options->add_item(TTR("Edit Dependencies.."), FILE_DEPENDENCIES); file_options->add_item(TTR("View Owners.."), FILE_OWNERS); file_options->add_separator(); } + } else if (all_folders && foldernames.size() > 0) { file_options->add_item(TTR("Open"), FILE_OPEN); file_options->add_separator(); -- cgit v1.2.3