Merge pull request #71849 from EricEzaM/fix-run-specific-scene-shortcut

Fix 'run specific scene' shortcut on Windows/non-Mac
This commit is contained in:
Rémi Verschelde 2023-01-22 16:07:14 +01:00
commit 84aaa1e90e
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -6944,7 +6944,7 @@ EditorNode::EditorNode() {
_reset_play_buttons();
ED_SHORTCUT_AND_COMMAND("editor/run_specific_scene", TTR("Run Specific Scene"), KeyModifierMask::META | KeyModifierMask::SHIFT | Key::F5);
ED_SHORTCUT_AND_COMMAND("editor/run_specific_scene", TTR("Run Specific Scene"), KeyModifierMask::CTRL | KeyModifierMask::SHIFT | Key::F5);
ED_SHORTCUT_OVERRIDE("editor/run_specific_scene", "macos", KeyModifierMask::META | KeyModifierMask::SHIFT | Key::R);
play_custom_scene_button->set_shortcut(ED_GET_SHORTCUT("editor/run_specific_scene"));