Merge pull request #71864 from KoBeWi/drag_and_fail

Fix script editor drag and drop
This commit is contained in:
Rémi Verschelde 2023-01-22 17:54:11 +01:00
commit eaf306e0b1
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -2159,7 +2159,7 @@ ScriptTextEditor::ScriptTextEditor() {
connection_info_dialog = memnew(ConnectionInfoDialog);
SET_DRAG_FORWARDING_GCD(code_editor, ScriptTextEditor);
SET_DRAG_FORWARDING_GCD(code_editor->get_text_editor(), ScriptTextEditor);
}
ScriptTextEditor::~ScriptTextEditor() {