mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 03:04:31 +00:00
Merge pull request #35720 from Calinou/remove-request-docs-button
Remove Request Docs button in the script editor due to various issues
This commit is contained in:
commit
f1e943f6ce
5 changed files with 11 additions and 20 deletions
|
|
@ -1093,11 +1093,6 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||
|
||||
OS::get_singleton()->shell_open("https://docs.godotengine.org/");
|
||||
} break;
|
||||
case REQUEST_DOCS: {
|
||||
|
||||
OS::get_singleton()->shell_open("https://github.com/godotengine/godot-docs/issues/new");
|
||||
} break;
|
||||
|
||||
case WINDOW_NEXT: {
|
||||
|
||||
_history_forward();
|
||||
|
|
@ -1398,7 +1393,6 @@ void ScriptEditor::_notification(int p_what) {
|
|||
|
||||
help_search->set_icon(get_theme_icon("HelpSearch", "EditorIcons"));
|
||||
site_search->set_icon(get_theme_icon("Instance", "EditorIcons"));
|
||||
request_docs->set_icon(get_theme_icon("Issue", "EditorIcons"));
|
||||
|
||||
script_forward->set_icon(get_theme_icon("Forward", "EditorIcons"));
|
||||
script_back->set_icon(get_theme_icon("Back", "EditorIcons"));
|
||||
|
|
@ -3260,12 +3254,6 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
|
|||
menu_hb->add_child(site_search);
|
||||
site_search->set_tooltip(TTR("Open Godot online documentation."));
|
||||
|
||||
request_docs = memnew(ToolButton);
|
||||
request_docs->set_text(TTR("Request Docs"));
|
||||
request_docs->connect("pressed", callable_mp(this, &ScriptEditor::_menu_option), varray(REQUEST_DOCS));
|
||||
menu_hb->add_child(request_docs);
|
||||
request_docs->set_tooltip(TTR("Help improve the Godot documentation by giving feedback."));
|
||||
|
||||
help_search = memnew(ToolButton);
|
||||
help_search->set_text(TTR("Search Help"));
|
||||
help_search->connect("pressed", callable_mp(this, &ScriptEditor::_menu_option), varray(SEARCH_HELP));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue