Skip to content

Commit 7266781

Browse files
committed
[Android] Fix error spam on right-clicking file system dock.
1 parent eda2a48 commit 7266781

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
@@ -2789,12 +2789,14 @@ int FileSystemDock::_get_menu_option_from_key(const Ref<InputEventKey> &p_key) {
27892789
return FILE_MENU_NEW_TEXTFILE;
27902790
} else if (ED_IS_SHORTCUT("filesystem_dock/rename", p_key)) {
27912791
return FILE_MENU_RENAME;
2792+
#if !defined(ANDROID_ENABLED) && !defined(WEB_ENABLED)
27922793
} else if (ED_IS_SHORTCUT("filesystem_dock/show_in_explorer", p_key)) {
27932794
return FILE_MENU_SHOW_IN_EXPLORER;
27942795
} else if (ED_IS_SHORTCUT("filesystem_dock/open_in_external_program", p_key)) {
27952796
return FILE_MENU_OPEN_EXTERNAL;
27962797
} else if (ED_IS_SHORTCUT("filesystem_dock/open_in_terminal", p_key)) {
27972798
return FILE_MENU_OPEN_IN_TERMINAL;
2799+
#endif
27982800
} else if (ED_IS_SHORTCUT("filesystem_dock/focus_path", p_key)) {
27992801
return EXTRA_FOCUS_PATH;
28002802
} else if (ED_IS_SHORTCUT("editor/open_search", p_key)) {

0 commit comments

Comments
 (0)