|
@@ -4266,8 +4266,14 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
|
|
|
file_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/show_in_file_system", TTR("Show in FileSystem")), SHOW_IN_FILE_SYSTEM);
|
|
|
file_menu->get_popup()->add_separator();
|
|
|
|
|
|
- file_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/history_previous", TTR("History Previous"), KeyModifierMask::ALT | Key::LEFT), WINDOW_PREV);
|
|
|
- file_menu->get_popup()->add_shortcut(ED_SHORTCUT("script_editor/history_next", TTR("History Next"), KeyModifierMask::ALT | Key::RIGHT), WINDOW_NEXT);
|
|
|
+ file_menu->get_popup()->add_shortcut(
|
|
|
+ ED_SHORTCUT_ARRAY("script_editor/history_previous", TTR("History Previous"),
|
|
|
+ { int32_t(KeyModifierMask::ALT | Key::LEFT), int32_t(Key::BACK) }),
|
|
|
+ WINDOW_PREV);
|
|
|
+ file_menu->get_popup()->add_shortcut(
|
|
|
+ ED_SHORTCUT_ARRAY("script_editor/history_next", TTR("History Next"),
|
|
|
+ { int32_t(KeyModifierMask::ALT | Key::RIGHT), int32_t(Key::FORWARD) }),
|
|
|
+ WINDOW_NEXT);
|
|
|
ED_SHORTCUT_OVERRIDE("script_editor/history_previous", "macos", KeyModifierMask::ALT | KeyModifierMask::META | Key::LEFT);
|
|
|
ED_SHORTCUT_OVERRIDE("script_editor/history_next", "macos", KeyModifierMask::ALT | KeyModifierMask::META | Key::RIGHT);
|
|
|
|