Change 2D/3D/Script/Help shortcuts back to previous values

Fixes conflicting change of focus for F3 (3D editor and "Find Next" in the Script editor).
Closes #11042.
This commit is contained in:
Rémi Verschelde 2017-09-13 18:45:42 +02:00
parent 58075d8ec5
commit d47a9a4984
2 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View file

@ -3,6 +3,8 @@
# Documentation generated by doxygen or from classes.xml
doc/_build/
# Specific to the master branch
doc/classes/
# Javascript specific
*.bc

View file

@ -6383,10 +6383,10 @@ EditorNode::EditorNode() {
FileAccess::set_file_close_fail_notify_callback(_file_access_close_error_notify);
ED_SHORTCUT("editor/editor_2d", TTR("Open 2D Editor"), KEY_F2);
ED_SHORTCUT("editor/editor_3d", TTR("Open 3D Editor"), KEY_F3);
ED_SHORTCUT("editor/editor_script", TTR("Open Script Editor"), KEY_F4);
ED_SHORTCUT("editor/editor_help", TTR("Search Help"), KEY_F1);
ED_SHORTCUT("editor/editor_2d", TTR("Open 2D Editor"), KEY_F1);
ED_SHORTCUT("editor/editor_3d", TTR("Open 3D Editor"), KEY_F2);
ED_SHORTCUT("editor/editor_script", TTR("Open Script Editor"), KEY_F3); //hack neded for script editor F3 search to work :) Assign like this or don't use F3
ED_SHORTCUT("editor/editor_help", TTR("Search Help"), KEY_F4);
ED_SHORTCUT("editor/editor_assetlib", TTR("Open Asset Library"));
ED_SHORTCUT("editor/editor_next", TTR("Open the next Editor"));
ED_SHORTCUT("editor/editor_prev", TTR("Open the previous Editor"));