Skip to content

Commit 63b7e02

Browse files
committed
Merge pull request #122034 from bruvzg/andr_rc
[Android] Fix error spam on right-clicking file system dock.
2 parents b3ea205 + 7266781 commit 63b7e02

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

editor/docks/filesystem_dock.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2803,12 +2803,14 @@ int FileSystemDock::_get_menu_option_from_key(const Ref<InputEventKey> &p_key) {
28032803
return FILE_MENU_NEW_TEXTFILE;
28042804
} else if (ED_IS_SHORTCUT("filesystem_dock/rename", p_key)) {
28052805
return FILE_MENU_RENAME;
2806+
#if !defined(ANDROID_ENABLED) && !defined(WEB_ENABLED)
28062807
} else if (ED_IS_SHORTCUT("filesystem_dock/show_in_explorer", p_key)) {
28072808
return FILE_MENU_SHOW_IN_EXPLORER;
28082809
} else if (ED_IS_SHORTCUT("filesystem_dock/open_in_external_program", p_key)) {
28092810
return FILE_MENU_OPEN_EXTERNAL;
28102811
} else if (ED_IS_SHORTCUT("filesystem_dock/open_in_terminal", p_key)) {
28112812
return FILE_MENU_OPEN_IN_TERMINAL;
2813+
#endif
28122814
} else if (ED_IS_SHORTCUT("filesystem_dock/focus_path", p_key)) {
28132815
return EXTRA_FOCUS_PATH;
28142816
} else if (ED_IS_SHORTCUT("editor/open_search", p_key)) {

0 commit comments

Comments
 (0)