From b60e662c25eba1a61ade3f257fdef7e1eb95e84d Mon Sep 17 00:00:00 2001 From: fkeyz Date: Wed, 18 Feb 2026 22:06:38 +0200 Subject: [PATCH] Match type hint behavior of drag and drop @export to @onready --- editor/script/script_text_editor.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/editor/script/script_text_editor.cpp b/editor/script/script_text_editor.cpp index 217a25a00ba..46f68bebaec 100644 --- a/editor/script/script_text_editor.cpp +++ b/editor/script/script_text_editor.cpp @@ -2223,16 +2223,15 @@ void ScriptTextEditor::drop_data_fw(const Point2 &p_point, const Variant &p_data } String variable_name = String(node->get_name()).to_snake_case().validate_unicode_identifier(); - StringName class_name = node->get_class_name(); + StringName custom_class_name; Ref