summaryrefslogtreecommitdiff
path: root/editor/project_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r--editor/project_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index 150dde79e5..e02e62025c 100644
--- a/editor/project_manager.cpp
+++ b/editor/project_manager.cpp
@@ -2552,6 +2552,7 @@ ProjectManager::ProjectManager() {
rename_btn = memnew(Button);
rename_btn->set_text(TTR("Rename"));
+ // The F2 shortcut isn't overridden with Enter on macOS as Enter is already used to edit a project.
rename_btn->set_shortcut(ED_SHORTCUT("project_manager/rename_project", TTR("Rename Project"), KEY_F2));
rename_btn->connect("pressed", callable_mp(this, &ProjectManager::_rename_project));
tree_vb->add_child(rename_btn);