Merge pull request #88609 from Cass-dev-web/master

Improve user experience for VCS metadata generator menu button to mitigate accidentally overriding
This commit is contained in:
Rémi Verschelde 2024-02-22 23:34:35 +01:00
commit 15bb860fa1
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -7406,7 +7406,7 @@ EditorNode::EditorNode() {
vcs_actions_menu = VersionControlEditorPlugin::get_singleton()->get_version_control_actions_panel();
vcs_actions_menu->set_name("Version Control");
vcs_actions_menu->connect("index_pressed", callable_mp(this, &EditorNode::_version_control_menu_option));
vcs_actions_menu->add_item(TTR("Create Version Control Metadata..."), RUN_VCS_METADATA);
vcs_actions_menu->add_item(TTR("Create/Override Version Control Metadata..."), RUN_VCS_METADATA);
vcs_actions_menu->add_item(TTR("Version Control Settings..."), RUN_VCS_SETTINGS);
project_menu->add_child(vcs_actions_menu);
project_menu->set_item_submenu(project_menu->get_item_index(VCS_MENU), "Version Control");