diff options
Diffstat (limited to 'modules/openxr/editor/openxr_editor_plugin.cpp')
-rw-r--r-- | modules/openxr/editor/openxr_editor_plugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/openxr/editor/openxr_editor_plugin.cpp b/modules/openxr/editor/openxr_editor_plugin.cpp index f545e31073..f6b7f2dd0c 100644 --- a/modules/openxr/editor/openxr_editor_plugin.cpp +++ b/modules/openxr/editor/openxr_editor_plugin.cpp @@ -32,6 +32,7 @@ #include "../action_map/openxr_action_map.h" +#include "editor/editor_command_palette.h" #include "editor/editor_node.h" #include "editor/gui/editor_bottom_panel.h" @@ -53,7 +54,7 @@ void OpenXREditorPlugin::make_visible(bool p_visible) { OpenXREditorPlugin::OpenXREditorPlugin() { action_map_editor = memnew(OpenXRActionMapEditor); - EditorNode::get_bottom_panel()->add_item(TTR("OpenXR Action Map"), action_map_editor); + EditorNode::get_bottom_panel()->add_item(TTR("OpenXR Action Map"), action_map_editor, ED_SHORTCUT_AND_COMMAND("bottom_panels/toggle_openxr_action_map_bottom_panel", TTR("Toggle OpenXR Action Map Bottom Panel"))); #ifndef ANDROID_ENABLED select_runtime = memnew(OpenXRSelectRuntime); |