diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-24 01:20:43 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-24 01:20:43 +0100 |
commit | 993ce3693319368197be3981b5f263d6325032d3 (patch) | |
tree | 8e5f9e044e9e82596a13c0a3139ac7d5b9f13cad /editor/filesystem_dock.cpp | |
parent | 1c2ff17f1294b26701e4a243e34142787cf8e819 (diff) | |
parent | fa60e2ddb0aaad117be4c6ff3cd03d89646ebf5c (diff) | |
download | redot-engine-993ce3693319368197be3981b5f263d6325032d3.tar.gz |
Merge pull request #89658 from AThousandShips/dock_terminal
[Editor] Add `Open in Terminal` to the file system empty click
Diffstat (limited to 'editor/filesystem_dock.cpp')
-rw-r--r-- | editor/filesystem_dock.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 85f2820563..ca3a3efcdf 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -3320,6 +3320,7 @@ void FileSystemDock::_file_list_empty_clicked(const Vector2 &p_pos, MouseButton file_list_popup->add_icon_item(get_editor_theme_icon(SNAME("TextFile")), TTR("New TextFile..."), FILE_NEW_TEXTFILE); file_list_popup->add_separator(); file_list_popup->add_icon_shortcut(get_editor_theme_icon(SNAME("Filesystem")), ED_GET_SHORTCUT("filesystem_dock/show_in_explorer"), FILE_SHOW_IN_EXPLORER); + file_list_popup->add_icon_shortcut(get_editor_theme_icon(SNAME("Terminal")), ED_GET_SHORTCUT("filesystem_dock/open_in_terminal"), FILE_OPEN_IN_TERMINAL); file_list_popup->set_position(files->get_screen_position() + p_pos); file_list_popup->reset_size(); |