diff options
| author | MillionOstrich | 2017-11-20 23:45:26 +0000 |
|---|---|---|
| committer | MillionOstrich | 2017-11-20 23:45:26 +0000 |
| commit | 89f264c4a8a24f99d5173436dbc209973a117e8b (patch) | |
| tree | 31d4b3f350e779ef56d01ed9a9ec0077d0c48e4e /editor/filesystem_dock.cpp | |
| parent | d11a61962f538cb515afc0b006582fdccc514955 (diff) | |
| download | godot-89f264c4a8a24f99d5173436dbc209973a117e8b.tar.gz godot-89f264c4a8a24f99d5173436dbc209973a117e8b.tar.zst godot-89f264c4a8a24f99d5173436dbc209973a117e8b.zip | |
Diffstat (limited to 'editor/filesystem_dock.cpp')
| -rw-r--r-- | editor/filesystem_dock.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 9c432323f..8c72b58da 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -1417,18 +1417,18 @@ void FileSystemDock::_files_list_rmb_select(int p_item, const Vector2 &p_pos) { if (all_files_scenes) { file_options->add_item(TTR("Instance"), FILE_INSTANCE); } + file_options->add_separator(); if (filenames.size() == 1) { - file_options->add_separator(); 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(); } - file_options->add_separator(); - int num_items = filenames.size() + foldernames.size(); if (num_items >= 1) { if (num_items == 1) { |
