Godot Engine – Multi-platform 2D and 3D game engine
Fix empty click context options for file list
kobewi97269a12eb39
diff --git a/editor/docks/filesystem_dock.cpp b/editor/docks/filesystem_dock.cppindex 3d0e4a970b0..2c1a4f15068 100644--- a/editor/docks/filesystem_dock.cpp+++ b/editor/docks/filesystem_dock.cpp@@ -3687,9 +3687,9 @@ void FileSystemDock::_file_and_folders_fill_popup(PopupMenu *p_popup, const Vectcurrent_path = fpath;} else if (no_paths) {#if !defined(ANDROID_ENABLED) && !defined(WEB_ENABLED)- tree_popup->add_separator();- tree_popup->add_icon_shortcut(get_editor_theme_icon(SNAME("Terminal")), ED_GET_SHORTCUT("filesystem_dock/open_in_terminal"), FILE_MENU_OPEN_IN_TERMINAL);- tree_popup->add_icon_shortcut(get_editor_theme_icon(SNAME("Filesystem")), ED_GET_SHORTCUT("filesystem_dock/show_in_explorer"), FILE_MENU_SHOW_IN_EXPLORER);+ p_popup->add_separator();+ p_popup->add_icon_shortcut(get_editor_theme_icon(SNAME("Terminal")), ED_GET_SHORTCUT("filesystem_dock/open_in_terminal"), FILE_MENU_OPEN_IN_TERMINAL);+ p_popup->add_icon_shortcut(get_editor_theme_icon(SNAME("Filesystem")), ED_GET_SHORTCUT("filesystem_dock/show_in_explorer"), FILE_MENU_SHOW_IN_EXPLORER);#endif}