[Editor] Add Open in Terminal
to the file system empty click
Was missing from clicking in the empty file list
This commit is contained in:
parent
fe01776f05
commit
fa60e2ddb0
1 changed files with 1 additions and 0 deletions
|
@ -3325,6 +3325,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_icon_item(get_editor_theme_icon(SNAME("TextFile")), TTR("New TextFile..."), FILE_NEW_TEXTFILE);
|
||||||
file_list_popup->add_separator();
|
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("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->set_position(files->get_screen_position() + p_pos);
|
||||||
file_list_popup->reset_size();
|
file_list_popup->reset_size();
|
||||||
|
|
Loading…
Reference in a new issue