diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-09 10:08:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-09 10:08:34 +0100 |
commit | 3302a324a4dfb32fd5da6dc17f8432e05b2f7fa1 (patch) | |
tree | ab0b97c12aa6e1e0889270b5a4c861b14b1cc1e6 | |
parent | 43300bdcc2fa5aa7cf636e40a66acb43a4de834e (diff) | |
parent | 3cdcf02d1e18b5eb9d57cef46e654623fb779182 (diff) |
Merge pull request #14436 from sersoong/master-fixbugs
Restored two items in filesystemdock menu
-rw-r--r-- | editor/filesystem_dock.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |