Godot Engine – Multi-platform 2D and 3D game engine
Fix duplicate Toggle Comment context option
kit5f38c54b89ce
diff --git a/editor/script/script_text_editor.cpp b/editor/script/script_text_editor.cppindex 78c90057213..6d85d7a68c6 100644--- a/editor/script/script_text_editor.cpp+++ b/editor/script/script_text_editor.cpp@@ -2507,8 +2507,6 @@ void ScriptTextEditor::_text_edit_gui_input(const Ref<InputEvent> &p_ev) {void ScriptTextEditor::_make_ste_context_menu(bool p_selection, bool p_color, bool p_foldable, bool p_open_docs, const Vector2 &p_position) {CodeEditorBase::_make_context_menu(p_selection, p_foldable, p_position, false);- context_menu->add_shortcut(ED_GET_SHORTCUT("script_text_editor/toggle_comment"), EDIT_TOGGLE_COMMENT);- _popup_move_item(EDIT_UNINDENT, context_menu);if (p_selection) {context_menu->add_shortcut(ED_GET_SHORTCUT("script_text_editor/evaluate_selection"), EDIT_EVALUATE);